summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/String.cpp
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-03-15 23:19:58 +0100
committerKarroffel <therzog@mail.de>2017-03-15 23:19:58 +0100
commit8d63048c6df08da5f0f88b62b2868c6938c222b7 (patch)
treec9113e2139838b11d3040469104a153d1f45a4af /include/godot_cpp/core/String.cpp
parentbce9ac109d63d67c3e7f0b25df8aa9d72e094d1b (diff)
downloadredot-cpp-8d63048c6df08da5f0f88b62b2868c6938c222b7.tar.gz
Windows compatibility
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;
+}
+
}