Skip to content

Commit

Permalink
removeFailedDependants fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSuprunenko committed Apr 5, 2019
1 parent 268cbc8 commit e7cf7ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/graft/GraftletLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,16 +381,15 @@ std::vector<GraftletLoader::DependencyGraph::DllName> GraftletLoader::Dependency
if(!ok) break;
}
}
auto it0 = it_gr;
++it_gr;
if(!ok)
{
res.push_back(name);
m_graph.erase(it0);
m_dll2ver.erase(name);
it_gr = m_graph.erase(it_gr);
changed = true;
break;
}
else ++it_gr;
}
}
return res;
Expand Down

0 comments on commit e7cf7ec

Please sign in to comment.