mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
Fix const for += operator in string
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user