diff --git a/src/osuparser.cpp b/src/osuparser.cpp index dd1ff5d..3f72697 100644 --- a/src/osuparser.cpp +++ b/src/osuparser.cpp @@ -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 value;\ ) #define VAR_LIST_SEP(section, name, type, sep) \ VAR_GENERIC(section, name,\ std::string val = checkAndRemove(line, namePascalCased);\ - value = "";\ + std::vector value;\ ) #define VAR_LIST_NUMBERED(section, name, type) \ VAR_GENERIC(section, name,\ std::string val = checkAndRemove(line, namePascalCased);\ - value = "";\ + std::vector value;\ ) Difficulty parseDifficulty(fs::path difficultyPath) {