corr SplitStr

This commit is contained in:
dimxy
2019-04-23 15:39:52 +05:00
parent e85fbb10c9
commit 2f24cf602f
+1 -1
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 (!ss.eofbit && !std::isspace(c = ss.get()) && c != ',')
while (!ss.eof() && !std::isspace(c = ss.get()) && c != ',')
str += c;
if (!str.empty())