Skip to content
Snippets Groups Projects
Commit f991e6d5 authored by Axel Naumann's avatar Axel Naumann
Browse files

Exit early once the dylib is found.

parent 200b9a8f
No related branches found
No related tags found
No related merge requests found
...@@ -370,8 +370,10 @@ namespace cling { ...@@ -370,8 +370,10 @@ namespace cling {
DyLibHandle dyLibHandle = 0; DyLibHandle dyLibHandle = 0;
for (DyLibs::const_iterator I = m_DyLibs.begin(), E = m_DyLibs.end(); for (DyLibs::const_iterator I = m_DyLibs.begin(), E = m_DyLibs.end();
I != E; ++I) { I != E; ++I) {
if (I->second == canonicalLoadedLib) if (I->second == canonicalLoadedLib) {
dyLibHandle = I->first; dyLibHandle = I->first;
break;
}
} }
std::string errMsg; std::string errMsg;
......
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