Skip to content
Snippets Groups Projects
Commit af0c0ffd authored by Julien Malik's avatar Julien Malik
Browse files

ENH: optimize application creation time by stopping the loop as soon as possible

parent 2d0e2fd7
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ ApplicationRegistry::CreateApplication(const std::string& name) ...@@ -107,6 +107,7 @@ ApplicationRegistry::CreateApplication(const std::string& name)
if ( (*k)->GetName() == name ) if ( (*k)->GetName() == name )
{ {
appli = *k; appli = *k;
break;
} }
} }
catch(...) catch(...)
......
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