fix range initialization on Windows
This commit is contained in:
parent
32fd507ad9
commit
6091248493
@ -872,7 +872,7 @@ class Contractor
|
|||||||
std::sort(neighbours.begin(), neighbours.end());
|
std::sort(neighbours.begin(), neighbours.end());
|
||||||
neighbours.resize(std::unique(neighbours.begin(), neighbours.end()) - neighbours.begin());
|
neighbours.resize(std::unique(neighbours.begin(), neighbours.end()) - neighbours.begin());
|
||||||
|
|
||||||
for (const auto i : boost::irange(0ul, neighbours.size()))
|
for (const auto i : boost::irange(0u, (unsigned)neighbours.size()))
|
||||||
{
|
{
|
||||||
contractor_graph->DeleteEdgesTo(neighbours[i], node);
|
contractor_graph->DeleteEdgesTo(neighbours[i], node);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user