From bf63be5714bea262ea3717c632dd2f5f83bb55dd Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Fri, 13 May 2022 06:01:26 -0400 Subject: Update MyString.h --- Sem. 09/MyString (with move)/MyString.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sem. 09/MyString (with move)/MyString.h b/Sem. 09/MyString (with move)/MyString.h index b37733a..57c298a 100644 --- a/Sem. 09/MyString (with move)/MyString.h +++ b/Sem. 09/MyString (with move)/MyString.h @@ -8,6 +8,8 @@ class MyString void copyFrom(const MyString& other); void free(); + + void concat(const MyString& other); public: MyString(); @@ -23,7 +25,6 @@ public: ~MyString(); size_t getSize() const; - void concat(const MyString& other); const char* c_str() const; @@ -41,4 +42,4 @@ bool operator<=(const MyString& lhs, const MyString& rhs); bool operator<(const MyString& lhs, const MyString& rhs); -//MyString name = "sdfsdf" \ No newline at end of file +//MyString name = "sdfsdf" -- cgit v1.3.1-23-gd82d