Skip to content
Snippets Groups Projects
Commit ab956ea5 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

trying to fix #146

parent 25a6560e
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,7 @@ namespace onelab{
static std::string getNextToken(const std::string &msg,
std::string::size_type &first)
{
if(first == std::string::npos) return "";
std::string::size_type last = msg.find_first_of(charSep(), first);
std::string next = msg.substr(first, last - first);
first = (last == std::string::npos) ? last : last + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment