Skip to content

Commit

Permalink
fix #14579
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 22, 2024
1 parent 54ca692 commit b39c3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netbuild/NBEdgeCont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2177,7 +2177,7 @@ NBEdgeCont::removeEdgesBySpeed(NBDistrictCont& dc) {
for (NBEdge* edge : toRemove) {
// explicit whitelist overrides removal
if (myEdges2Keep.size() == 0 || myEdges2Keep.count(edge->getID()) == 0) {
erase(dc, edge);
extract(dc, edge);
numRemoved++;
}
}
Expand All @@ -2202,7 +2202,7 @@ NBEdgeCont::removeEdgesByPermissions(NBDistrictCont& dc) {
for (NBEdge* edge : toRemove) {
// explicit whitelist overrides removal
if (myEdges2Keep.size() == 0 || myEdges2Keep.count(edge->getID()) == 0) {
erase(dc, edge);
extract(dc, edge);
numRemoved++;
}
}
Expand Down

0 comments on commit b39c3b0

Please sign in to comment.