mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-08 01:36:44 +08:00
fix old style cast warning
This commit is contained in:
parent
ed21395b20
commit
8a47605f0b
2
enum.h
2
enum.h
@ -498,7 +498,7 @@ struct _initialize_at_program_start {
|
||||
// Array generation macros.
|
||||
|
||||
#define BETTER_ENUMS_EAT_ASSIGN_SINGLE(EnumType, index, expression) \
|
||||
(EnumType)((::better_enums::_eat_assign<EnumType>)EnumType::expression),
|
||||
static_cast<EnumType>(static_cast<::better_enums::_eat_assign<EnumType>>(EnumType::expression)),
|
||||
|
||||
#define BETTER_ENUMS_EAT_ASSIGN(EnumType, ...) \
|
||||
BETTER_ENUMS_ID( \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user