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

voodoo

parent 06b0b0f2
No related branches found
No related tags found
No related merge requests found
......@@ -146,9 +146,9 @@ namespace onelab{
{
if(first == std::string::npos) return "";
std::string::size_type last = msg.find_first_of(separator, first);
std::string next;
std::string next("");
if(last == std::string::npos){
next = msg.substr(first);
next = msg.substr(first, last - first);
first = last;
}
else if(first == last){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment