summaryrefslogtreecommitdiffstats
path: root/src/variant/char_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variant/char_string.cpp')
-rw-r--r--src/variant/char_string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/variant/char_string.cpp b/src/variant/char_string.cpp
index 72f4a6c..2ec37ca 100644
--- a/src/variant/char_string.cpp
+++ b/src/variant/char_string.cpp
@@ -193,11 +193,11 @@ bool String::operator!=(const char32_t *p_str) const {
}
const char32_t &String::operator[](int p_index) const {
- return *internal::interface->string_operator_index_const((GDNativeStringPtr) this, p_index);
+ return *internal::interface->string_operator_index_const((GDNativeStringPtr)this, p_index);
}
char32_t &String::operator[](int p_index) {
- return *internal::interface->string_operator_index((GDNativeStringPtr) this, p_index);
+ return *internal::interface->string_operator_index((GDNativeStringPtr)this, p_index);
}
bool operator==(const char *p_chr, const String &p_str) {