You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/table/settings
rubidium42 98e653dacc Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr
With std::variant all memory can be figured out at compile time, so the compiler needs to keep track of fewer elements. It also saves out a unique_ptr and its memory management, over a slight impact for resolving a setting.
3 years ago
..
CMakeLists.txt
company_settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago
currency_settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago
gameopt_settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago
misc_settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago
settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago
win32_settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago
window_settings.ini Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr 3 years ago