fix my stupidity (opposite way stream ops)
This commit is contained in:
parent
d77de45c84
commit
f2f9e9211c
1 changed files with 4 additions and 4 deletions
|
@ -138,14 +138,14 @@ inline void toLower(std::string &str) {
|
|||
std::string val = checkAndRemove(line, namePascalCased);\
|
||||
std::stringstream ss(val);\
|
||||
enum_type value;\
|
||||
value << ss;\
|
||||
ss >> value;\
|
||||
)
|
||||
#define VAR_ENUM_D(section, name, enum_type, default) \
|
||||
VAR_GENERIC_D(section, name, enum_type::default,\
|
||||
std::string val = checkAndRemove(line, namePascalCased);\
|
||||
std::stringstream ss(val);\
|
||||
enum_type value;\
|
||||
value << ss;\
|
||||
ss >> value;\
|
||||
)
|
||||
|
||||
#define STRUCT_STREAM_OPS(name, ...)
|
||||
|
@ -156,14 +156,14 @@ inline void toLower(std::string &str) {
|
|||
std::string val = checkAndRemove(line, namePascalCased);\
|
||||
std::stringstream ss(val);\
|
||||
struct_type value;\
|
||||
value << ss;\
|
||||
ss >> value;\
|
||||
)
|
||||
#define VAR_STRUCT_D(section, name, struct_type, default) \
|
||||
VAR_GENERIC_D(section, name, default,\
|
||||
std::string val = checkAndRemove(line, namePascalCased);\
|
||||
std::stringstream ss(val);\
|
||||
struct_type value;\
|
||||
value << ss;\
|
||||
ss >> value;\
|
||||
)
|
||||
|
||||
#define VAR_LIST(section, name, type) \
|
||||
|
|
Loading…
Reference in a new issue