Fix const for += operator in string
This commit is contained in:
parent
1803ca43fa
commit
1a32997a0f
@ -53,7 +53,7 @@ public:
|
|||||||
bool operator!=(const String &s) const;
|
bool operator!=(const String &s) const;
|
||||||
String operator+(const String &s) const;
|
String operator+(const String &s) const;
|
||||||
void operator+=(const String &s);
|
void operator+=(const String &s);
|
||||||
void operator+=(const wchar_t c) const;
|
void operator+=(const wchar_t c);
|
||||||
bool operator<(const String &s) const;
|
bool operator<(const String &s) const;
|
||||||
bool operator<=(const String &s) const;
|
bool operator<=(const String &s) const;
|
||||||
bool operator>(const String &s) const;
|
bool operator>(const String &s) const;
|
||||||
|
@ -134,7 +134,7 @@ void String::operator+=(const String &s) {
|
|||||||
_godot_string = godot::api->godot_string_operator_plus(&_godot_string, &s._godot_string);
|
_godot_string = godot::api->godot_string_operator_plus(&_godot_string, &s._godot_string);
|
||||||
}
|
}
|
||||||
|
|
||||||
void String::operator+=(const wchar_t c) const {
|
void String::operator+=(const wchar_t c) {
|
||||||
// @Todo
|
// @Todo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user