godotengine / godotengine/godot-cpp

Investigate string function

Open
#258 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.