const-correctness

This commit is contained in:
Patrick Niklaus
2017-12-05 11:14:26 +00:00
committed by Patrick Niklaus
parent 25ee26de3b
commit 88ee51ba2e
3 changed files with 7 additions and 3 deletions
@@ -125,7 +125,7 @@ bool IsSegregated(std::vector<EdgeInfo> v1,
return edgeLength <= threshold;
}
std::unordered_set<EdgeID> findSegregatedNodes(NodeBasedGraphFactory &factory,
std::unordered_set<EdgeID> findSegregatedNodes(const NodeBasedGraphFactory &factory,
const util::NameTable &names)
{