godotengine / godotengine/godot-cpp
Investigate string function
Open
enhancement
- Dominant language
- C++
- Stars
- 2.7k
- Forks
- 809
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 8
Description
This function needed a cast in order for master to compile, there was a PR for introducing this. @karroffel mentioned he wanted a closer look so just raising this to make sure it's not forgotten.
`core/String.cpp`
```
wchar_t &String::operator[](const int idx) {
return *const_cast(godot::api->godot_string_operator_index(&_godot_string, idx));
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.