1
0
Fork 0

Codefix: EngineNameContext uses enum class naming but wasn't.

This could have caused namespace conflicts with its values.
pull/13417/head
Peter Nelson 2025-01-30 21:28:42 +00:00
parent a4d23c072d
commit b41cf73449
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
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.
*/
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).