summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerraAr <37753757+TerraAr@users.noreply.github.com>2020-08-14 21:42:10 -0300
committerGitHub <noreply@github.com>2020-08-14 21:42:10 -0300
commita1ba843f3668ed53a25f5eb7866d882552028d53 (patch)
tree52963019b457a2be53369ab2665b750c726f369e
parent36e0acb0d42742fdeede2e928a89b3a92a436934 (diff)
downloadredot-cpp-a1ba843f3668ed53a25f5eb7866d882552028d53.tar.gz
Created operator.
Created String::operator+=(const wchar_t), that was mark as Todo.
-rw-r--r--src/core/String.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/String.cpp b/src/core/String.cpp
index 7340b6d..65d210f 100644
--- a/src/core/String.cpp
+++ b/src/core/String.cpp
@@ -135,7 +135,7 @@ void String::operator+=(const String &s) {
}
void String::operator+=(const wchar_t c) {
- // @Todo
+ _godot_string = godot::api->godot_string_operator_plus(&_godot_string, &(String(c)._godot_string));
}
bool String::operator<(const String &s) const {