GLK: Fix copy assignment operator warning once again

Back to square 2 ;)
This commit is contained in:
Orgad Shaneh 2021-03-15 22:43:58 +02:00 committed by David Turner
parent b8c4cd8129
commit 955e3a471f

View File

@ -45,7 +45,7 @@ public:
String(const char *beginP, const char *endP) : Common::String(beginP, endP) {}
String(const String &str) : Common::String(str) {}
explicit String(char c) : Common::String(c) {}
using Common::String::operator=;
String& operator=(const String &str) { this->Common::String::operator=(str); return *this; }
char &operator[](int idx) {
assert(_str && idx >= 0 && idx < (int)_size);