mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
GLK: Fix copy assignment operator warning once again
Back to square 2 ;)
This commit is contained in:
parent
b8c4cd8129
commit
955e3a471f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user