corr SplitStr c

This commit is contained in:
dimxy
2019-04-09 13:33:28 +05:00
parent 8231a83db8
commit 124983720d

View File

@@ -406,7 +406,7 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &outVals)
while (std::isspace(ss.peek()))
ss.ignore();
while ((c = ss.get()) != EOF && !std::isspace(c = ss.get()) && c != ',')
while ((c = ss.get()) != EOF && !std::isspace(c) && c != ',')
str += c;
if (!str.empty())