Fix compilation error: const GDExtensionStringPtr -> GDExtensionConstStringPtr

This commit is contained in:
Zhehang Ding
2023-02-14 18:53:11 -08:00
parent 0068320ff1
commit 07c914b479
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}