From 0d59ecf7de1844a66fcd8cca7a8dd1ef05664d39 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 8 Dec 2025 08:59:02 +0000 Subject: [PATCH] Codefix 6f52a977a8: GRFConfigFlag was given enum class naming without being enum class. (#14884) --- src/newgrf_config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 4f68bc9bec..7401c98f00 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -17,15 +17,15 @@ #include "3rdparty/md5/md5.h" /** GRF config bit flags */ -enum GRFConfigFlag : uint8_t { - System, ///< GRF file is an openttd-internal system grf - Unsafe, ///< GRF file is unsafe for static usage - Static, ///< GRF file is used statically (can be used in any MP game) +enum class GRFConfigFlag : uint8_t { + System, ///< GRF file is an openttd-internal system grf + Unsafe, ///< GRF file is unsafe for static usage + Static, ///< GRF file is used statically (can be used in any MP game) Compatible, ///< GRF file does not exactly match the requested GRF (different MD5SUM), but grfid matches) - Copy, ///< The data is copied from a grf in _all_grfs - InitOnly, ///< GRF file is processed up to GLS_INIT - Reserved, ///< GRF file passed GLS_RESERVE stage - Invalid, ///< GRF is unusable with this version of OpenTTD + Copy, ///< The data is copied from a grf in _all_grfs + InitOnly, ///< GRF file is processed up to GLS_INIT + Reserved, ///< GRF file passed GLS_RESERVE stage + Invalid, ///< GRF is unusable with this version of OpenTTD }; using GRFConfigFlags = EnumBitSet;