corr SplitStr

This commit is contained in:
dimxy
2019-04-23 15:39:51 +05:00
parent dee17205d2
commit e85fbb10c9
+1 -1
View File
@@ -406,7 +406,7 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &outVals)
while (std::isspace(ss.peek())) while (std::isspace(ss.peek()))
ss.ignore(); ss.ignore();
while (!ss.eofbit && !std::isspace(c = ss.get() && c != ',')) while (!ss.eofbit && !std::isspace(c = ss.get()) && c != ',')
str += c; str += c;
if (!str.empty()) if (!str.empty())