diff options
Autocommit at 07.05.2022 @ 12:23
1 files changed, 1 insertions, 3 deletions
| -rw-r--r-- | src/Generic/String/String.h | 4 |
diff --git a/src/Generic/String/String.h b/src/Generic/String/String.h index 5c5231d..4465407 100644 --- a/src/Generic/String/String.h +++ b/src/Generic/String/String.h @@ -14,8 +14,6 @@ public: const char* get_cstr() const; unsigned get_length() const; - char& operator[](unsigned index); - String(); String(const String& other); String& operator=(const String& other); @@ -25,7 +23,7 @@ public: String& operator=(String&& other); int compare(const String& other) const; - char operator[](unsigned index); + char& operator[](unsigned index); }; #endif |
