diff options
Update Student.cpp
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Sem. 05/Student.cpp | 2 |
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; } |
