Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / String / String.h
diff options
context:
space:
mode:
Commit83b0388eebcfe031a6b78cf22dd14143c545e453 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 12:23:05 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 12:23:05 +0300
Filesbc1aa53edb31c60ffe5b2a1a96d1e4147ee75acf /src/Generic/String/String.h
FMI-OOP-P1_TicketSystem-83b0388eebcfe031a6b78cf22dd14143c545e453.tar
FMI-OOP-P1_TicketSystem-83b0388eebcfe031a6b78cf22dd14143c545e453.tar.gz
FMI-OOP-P1_TicketSystem-83b0388eebcfe031a6b78cf22dd14143c545e453.zip
Parent451c2832197964b0d5ba225304e1361440d454af (diff)
Autocommit at 07.05.2022 @ 12:23
1 files changed, 1 insertions, 3 deletions
-rw-r--r--src/Generic/String/String.h4
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