From b41cf734496ed09431ae27cc448fe5440abca619 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Thu, 30 Jan 2025 21:28:42 +0000 Subject: [PATCH] Codefix: EngineNameContext uses enum class naming but wasn't. This could have caused namespace conflicts with its values. --- src/engine_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine_type.h b/src/engine_type.h index 6ea5696619..51427541e6 100644 --- a/src/engine_type.h +++ b/src/engine_type.h @@ -190,7 +190,7 @@ enum EngineFlags : uint8_t { /** * Contexts an engine name can be shown in. */ -enum EngineNameContext : uint8_t { +enum class EngineNameContext : uint8_t { Generic = 0x00, ///< No specific context available. VehicleDetails = 0x11, ///< Name is shown in the vehicle details GUI. PurchaseList = 0x20, ///< Name is shown in the purchase list (including autoreplace window 'Available vehicles' panel).