fix the default value for enums (we're so back)
This commit is contained in:
parent
559e0a27ca
commit
c959fe1c31
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ inline void toLower(std::string &str) {
|
||||||
value << ss;\
|
value << ss;\
|
||||||
)
|
)
|
||||||
#define VAR_ENUM_D(section, name, enum_type, default) \
|
#define VAR_ENUM_D(section, name, enum_type, default) \
|
||||||
VAR_GENERIC_D(section, name, default,\
|
VAR_GENERIC_D(section, name, enum_type::default,\
|
||||||
std::string val = checkAndRemove(line, namePascalCased);\
|
std::string val = checkAndRemove(line, namePascalCased);\
|
||||||
std::stringstream ss(val);\
|
std::stringstream ss(val);\
|
||||||
enum_type value;\
|
enum_type value;\
|
||||||
|
|
Loading…
Reference in a new issue