1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Fixed CID 1288859

This commit is contained in:
AlexVinS 2016-11-24 22:34:42 +03:00
parent db40e125eb
commit bd4040245f

View File

@ -680,7 +680,7 @@ std::vector <TModID> CModHandler::resolveDependencies(std::vector <TModID> input
std::set <TModID> resolvedMods;
// Check if all mod dependencies are resolved (moved to resolvedMods)
auto isResolved = [&](const CModInfo mod) -> bool
auto isResolved = [&](const CModInfo & mod) -> bool
{
for(const TModID & dependency : mod.dependencies)
{