mirror of
https://github.com/godotengine/godot-cpp.git
synced 2025-12-31 01:48:45 +03:00
Synced with Godot 3.1 stable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# MIT License
|
||||
|
||||
Copyright (c) 2017 GodotNativeTools
|
||||
Copyright (c) 2017-2019 GodotNativeTools
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
Submodule godot_headers updated: b98ac387a1...489db2761c
@@ -99,7 +99,7 @@ String::~String() {
|
||||
}
|
||||
|
||||
wchar_t &String::operator[](const int idx) {
|
||||
return *godot::api->godot_string_operator_index(&_godot_string, idx);
|
||||
return *const_cast<wchar_t *>(godot::api->godot_string_operator_index(&_godot_string, idx));
|
||||
}
|
||||
|
||||
wchar_t String::operator[](const int idx) const {
|
||||
|
||||
Reference in New Issue
Block a user