edited according to clang-format
This commit is contained in:
@@ -73,7 +73,7 @@ String::String(const String &other) {
|
||||
godot::api->godot_string_new_copy(&_godot_string, &other._godot_string);
|
||||
}
|
||||
|
||||
String::String(String&& other) {
|
||||
String::String(String &&other) {
|
||||
godot::api->godot_string_new_copy(&_godot_string, &other._godot_string);
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ void String::operator=(const String &s) {
|
||||
godot::api->godot_string_new_copy(&_godot_string, &s._godot_string);
|
||||
}
|
||||
|
||||
void String::operator=(String&& s) {
|
||||
void String::operator=(String &&s) {
|
||||
godot::api->godot_string_destroy(&_godot_string);
|
||||
godot::api->godot_string_new_copy(&_godot_string, &s._godot_string);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user