Skip to content
Snippets Groups Projects
Commit 83cef18d authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: supress double spaces

parent 79392043
Branches
Tags
No related merge requests found
......@@ -92,6 +92,12 @@ void CommandLineLauncher::DeleteWatcherList()
bool CommandLineLauncher::Load(const std::string & exp)
{
m_Expression = exp;
//std::cout<<m_Expression<<std::endl;
while(m_Expression.find(" ") != std::string::npos)
m_Expression.erase(m_Expression.find(" "), 1);
//std::cout<<m_Expression<<std::endl;
return this->Load();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment