From 74f7ee9df3a45b36c99b6f81048816c15b053c17 Mon Sep 17 00:00:00 2001 From: D4koon Date: Sun, 11 Nov 2018 14:23:20 +0100 Subject: [PATCH] Fix for Visual Studio 2017 --- enum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enum.h b/enum.h index 4eb6414..bf45e37 100644 --- a/enum.h +++ b/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::expression), + (EnumType::expression), #define BETTER_ENUMS_EAT_ASSIGN(EnumType, ...) \ BETTER_ENUMS_ID( \