mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 08:07:19 -06:00
amend to #222: prevent merge errors by unexpected growing of properties enum in compilers supporting constexpr/static_assert, checking its length at compile time:
ARRAY_SIZE(g_NameToPropID) must be always equal NCoderPropID::kEndOfProp
This commit is contained in:
@@ -148,7 +148,8 @@ namespace NCoderPropID
|
||||
kLdmHashLog, // VT_UI4 The minimum ldmhlog is 6 and the maximum is 26 (default: 20).
|
||||
kLdmSearchLength, // VT_UI4 The minimum ldmslen is 4 and the maximum is 4096 (default: 64).
|
||||
kLdmBucketSizeLog, // VT_UI4 The minimum ldmblog is 0 and the maximum is 8 (default: 3).
|
||||
kLdmHashRateLog // VT_UI4 The default value is wlog - ldmhlog.
|
||||
kLdmHashRateLog, // VT_UI4 The default value is wlog - ldmhlog.
|
||||
kEndOfProp
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user