placeholders in list parsing parts to make it compile

This commit is contained in:
jacekpoz 2024-04-18 21:09:22 +02:00
parent f2f9e9211c
commit 8c86ee649c
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -169,17 +169,17 @@ inline void toLower(std::string &str) {
#define VAR_LIST(section, name, type) \
VAR_GENERIC(section, name,\
std::string val = checkAndRemove(line, namePascalCased);\
value = "";\
std::vector<type> value;\
)
#define VAR_LIST_SEP(section, name, type, sep) \
VAR_GENERIC(section, name,\
std::string val = checkAndRemove(line, namePascalCased);\
value = "";\
std::vector<type> value;\
)
#define VAR_LIST_NUMBERED(section, name, type) \
VAR_GENERIC(section, name,\
std::string val = checkAndRemove(line, namePascalCased);\
value = "";\
std::vector<type> value;\
)
Difficulty parseDifficulty(fs::path difficultyPath) {