godot/main
Hein-Pieter van Braam ac99ed3cda String[size()] should return a default constructed CharType
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.
2019-01-04 17:48:03 +00:00
..
tests String[size()] should return a default constructed CharType 2019-01-04 17:48:03 +00:00
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
default_controller_mappings.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gamecontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2018-09-27 09:54:21 +02:00
gamecontrollerdb_204.txt Sync controller mappings DB with SDL2 community repo 2018-09-27 09:54:21 +02:00
gamecontrollerdb_205.txt Sync controller mappings DB with SDL2 community repo 2018-09-27 09:54:21 +02:00
godotcontrollerdb.txt Input: Add mapping for X-Box One S controller on Linux 2018-10-02 09:14:47 +02:00
input_default.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input_default.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
main.cpp Don't apply target_fps in editor 2019-01-03 18:22:42 +01:00
main.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
main_builders.py Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
performance.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
performance.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
splash_editor.png Donors: Add GameDev.tv as platinum sponsor 2018-08-28 12:55:07 +02:00
timer_sync.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
timer_sync.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00