corr SplitStr
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user