Update enum.h

This commit is contained in:
D4koon 2018-11-17 11:38:20 +01:00 committed by Anton Bachin
parent 74f7ee9df3
commit 811f01a98a

2
enum.h
View File

@ -498,7 +498,7 @@ struct _initialize_at_program_start {
// Array generation macros.
#define BETTER_ENUMS_EAT_ASSIGN_SINGLE(EnumType, index, expression) \
(EnumType::expression),
(EnumType)((::better_enums::_eat_assign<EnumType>)EnumType::expression),
#define BETTER_ENUMS_EAT_ASSIGN(EnumType, ...) \
BETTER_ENUMS_ID( \