Fix gcc5 compilation error
This commit is contained in:
parent
404c275101
commit
553310fb31
@ -71,7 +71,8 @@ struct ContractedEdgeContainer
|
||||
auto flags_iter = flags.begin();
|
||||
|
||||
// Remove all edges that are contained in the old set of edges and set the appropriate flag.
|
||||
auto new_end = std::remove_if(new_edges.begin(), new_edges.end(), [&](const auto &edge) {
|
||||
auto new_end =
|
||||
std::remove_if(new_edges.begin(), new_edges.end(), [&](const QueryEdge &edge) {
|
||||
// check if the new edge would be sorted before the currend old edge
|
||||
// if so it is not contained yet in the set of old edges
|
||||
if (edge_iter == edge_end || mergeCompare(edge, *edge_iter))
|
||||
|
Loading…
Reference in New Issue
Block a user