diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-15 10:16:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-15 10:16:49 +0100 |
commit | f5133c08a529d027e3232d593b0f6c3ca45a0545 (patch) | |
tree | bfef966067383b7d1326b7cc43d5d5b145775b64 /src/variant/char_string.cpp | |
parent | 0068320ff13fd91d16f3a2bdcf7956cd439c2869 (diff) | |
parent | 07c914b479d6d99b5e86dfb5f9fa1a727963ba1d (diff) | |
download | redot-cpp-f5133c08a529d027e3232d593b0f6c3ca45a0545.tar.gz |
Merge pull request #1040 from zhehangd/fix_const_str_ptr
Fix compilation error: const GDExtensionStringPtr -> GDExtensionConst…
Diffstat (limited to 'src/variant/char_string.cpp')
-rw-r--r-- | src/variant/char_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variant/char_string.cpp b/src/variant/char_string.cpp index a9c170e..bd0bc3f 100644 --- a/src/variant/char_string.cpp +++ b/src/variant/char_string.cpp @@ -353,7 +353,7 @@ String String::operator+(const char32_t p_char) { } String &String::operator+=(const String &p_str) { - internal::gde_interface->string_operator_plus_eq_string((GDExtensionStringPtr)this, (const GDExtensionStringPtr)&p_str); + internal::gde_interface->string_operator_plus_eq_string((GDExtensionStringPtr)this, (GDExtensionConstStringPtr)&p_str); return *this; } |