Fix const for += operator in string

pull/133/head
Timothy Werquin 2018-05-15 22:24:53 +02:00
parent 1803ca43fa
commit 1a32997a0f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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
}