mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
0340e19e04
This simplifies and replaces static_cast and C-style casts doing the same. `std::to_underlying()` exists in C++23 but not C++20.