diff --git a/src/common/cd_image_device.cpp b/src/common/cd_image_device.cpp index 8bd832dc7..2b31945f4 100644 --- a/src/common/cd_image_device.cpp +++ b/src/common/cd_image_device.cpp @@ -9,11 +9,8 @@ #include Log_SetChannel(CDImageDevice); -enum : u32 -{ - MAX_TRACK_NUMBER = 99, - ALL_SUBCODE_SIZE = 96, -}; +static constexpr u32 MAX_TRACK_NUMBER = 99; +static constexpr int ALL_SUBCODE_SIZE = 96; static u32 BEToU32(const u8* val) {