mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 00:42:45 +01:00
This simplifies and replaces static_cast and C-style casts doing the same. `std::to_underlying()` exists in C++23 but not C++20.
This simplifies and replaces static_cast and C-style casts doing the same. `std::to_underlying()` exists in C++23 but not C++20.