mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-01 05:48:37 +03:00
Fix const for += operator in string
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
bool operator!=(const String &s) const;
|
||||
String operator+(const String &s) const;
|
||||
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;
|
||||
|
||||
@@ -134,7 +134,7 @@ void String::operator+=(const String &s) {
|
||||
_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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user