1
0
Fork 0

Codefix: EngineNameContext uses enum class naming but wasn't. (#13417)

This could have caused namespace conflicts with its values.
pull/10835/head
Peter Nelson 2025-01-30 22:14:45 +00:00 committed by GitHub
parent 2fa81c89ce
commit 84b219ac64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ enum EngineFlags : uint8_t {
/** /**
* Contexts an engine name can be shown in. * Contexts an engine name can be shown in.
*/ */
enum EngineNameContext : uint8_t { enum class EngineNameContext : uint8_t {
Generic = 0x00, ///< No specific context available. Generic = 0x00, ///< No specific context available.
VehicleDetails = 0x11, ///< Name is shown in the vehicle details GUI. 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). PurchaseList = 0x20, ///< Name is shown in the purchase list (including autoreplace window 'Available vehicles' panel).