Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 09
diff options
context:
space:
mode:
1 files changed, 3 insertions, 2 deletions
-rw-r--r--Sem. 09/MyString (with move)/MyString.h5
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"