From: <sv...@op...> - 2025-03-15 14:30:08
|
Author: manx Date: Sat Mar 15 15:29:50 2025 New Revision: 23036 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=23036 Log: [Ref] serialization utils: Remove Max values from enums. Modified: trunk/OpenMPT/common/serialization_utils.h Modified: trunk/OpenMPT/common/serialization_utils.h ============================================================================== --- trunk/OpenMPT/common/serialization_utils.h Sat Mar 15 13:56:01 2025 (r23035) +++ trunk/OpenMPT/common/serialization_utils.h Sat Mar 15 15:29:50 2025 (r23036) @@ -60,7 +60,6 @@ Failure = 0x2, Note = 0x1, None = 0x0, - Max = 0xff, }; enum class StatusMessages : uint32 @@ -89,8 +88,6 @@ SNW_INSUFFICIENT_DATASIZETYPE = 0x00'10'00'00, SNRW_BADGIVEN_STREAM = 0x01'00'00'00, - - Max = 0xffffffff, }; struct Status @@ -149,6 +146,7 @@ RwfRTwoBytesDescChar, // Read. True if map description characters are two bytes. RwfRHeaderIsRead, // Read. True when header is read. RwfRwHasMap, // Read/write. True if map exists. + RwfNumFlags }; |