mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
GLK: Remove proxy ctors and copy assignment operator
This commit is contained in:
parent
e64570f6c3
commit
bedba56f24
@ -39,14 +39,7 @@ typedef Common::HashMap<String, Common::Array<String>, Common::IgnoreCase_Hash,
|
|||||||
|
|
||||||
class String : public Common::String {
|
class String : public Common::String {
|
||||||
public:
|
public:
|
||||||
String() : Common::String() {}
|
using Common::String::String;
|
||||||
String(const char *str) : Common::String(str) {}
|
|
||||||
String(const char *str, uint32 len) : Common::String(str, len) {}
|
|
||||||
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) {}
|
|
||||||
|
|
||||||
String& operator=(const String &str) { this->Common::String::operator=(str); return *this; }
|
|
||||||
|
|
||||||
char &operator[](int idx) {
|
char &operator[](int idx) {
|
||||||
assert(_str && idx >= 0 && idx < (int)_size);
|
assert(_str && idx >= 0 && idx < (int)_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user