mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
ac99ed3cda
As per the C++ standard 21.3.4.1 for std::string: Returns: If pos < size(), returns data()[pos]. Otherwise, if pos == size(), the const version returns charT(). Otherwise, the behavior is undefined. Since the behavior is undefined Godot now does the same thing for const and non-const versions of operator[]. This fixes #21242 and fixes #22221. |
||
---|---|---|
.. | ||
tests | ||
app_icon.png | ||
default_controller_mappings.h | ||
gamecontrollerdb_204.txt | ||
gamecontrollerdb_205.txt | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input_default.cpp | ||
input_default.h | ||
main_builders.py | ||
main.cpp | ||
main.h | ||
performance.cpp | ||
performance.h | ||
SCsub | ||
splash_editor.png | ||
splash.png | ||
timer_sync.cpp | ||
timer_sync.h |