Merge pull request #441 from TerraAr/master

Create an operator
pull/365/head
Marc 2020-08-16 17:36:49 +01:00 committed by GitHub
commit a3fe496ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ void String::operator+=(const String &s) {
}
void String::operator+=(const wchar_t c) {
// @Todo
String _to_be_added = String(c);
*this = String(godot::api->godot_string_operator_plus(&_godot_string, &_to_be_added._godot_string));
}
bool String::operator<(const String &s) const {