summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/String.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/godot_cpp/core/String.cpp')
-rw-r--r--include/godot_cpp/core/String.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/godot_cpp/core/String.cpp b/include/godot_cpp/core/String.cpp
index 52923ff..c3c78e4 100644
--- a/include/godot_cpp/core/String.cpp
+++ b/include/godot_cpp/core/String.cpp
@@ -120,6 +120,11 @@ const wchar_t *String::c_string() const
}
+String operator +(const char *a, const String& b)
+{
+ return String(a) + b;
+}
+
}