From 8c86ee649c6a61aa8072aed94a4aa9af6018147a Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 18 Apr 2024 21:09:22 +0200 Subject: [PATCH] placeholders in list parsing parts to make it compile --- src/osuparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {