1
0
Fork 0

BRIDGE: simplify bridgegraph

This commit is contained in:
Mr. eXoDia 2016-07-18 14:15:04 +02:00
parent 2cac1af5de
commit 9bdf467ce7
1 changed files with 1 additions and 5 deletions

View File

@ -138,11 +138,7 @@ struct BridgeCFGraph
return;
auto found = parents.find(child);
if(found == parents.end())
{
std::unordered_set<duint> p;
p.insert(parent);
parents[child] = p;
}
parents[child] = std::unordered_set<duint>(std::initializer_list<duint> { parent });
else
found->second.insert(parent);
}