mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 08:46:42 +08:00
Fix for Visual Studio 2017 (#70)
This commit is contained in:
parent
2d2a6a5648
commit
ed21395b20
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) \
|
||||
((::better_enums::_eat_assign<EnumType>)EnumType::expression),
|
||||
(EnumType)((::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