Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 05 / Student.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Sem. 05/Student.cpp2
diff --git a/Sem. 05/Student.cpp b/Sem. 05/Student.cpp
index 67dd7fa..e735b09 100644
--- a/Sem. 05/Student.cpp
+++ b/Sem. 05/Student.cpp
@@ -56,7 +56,7 @@ public:
return age;
}
- const char* const getName()//копие на указателя!!!
+ const char* const getName() const //копие на указателя!!!
{
return name;
}