C++11: More range for. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-08-16 12:54:32 -04:00
parent 78aee6f4e7
commit ac04e85a1c
23 changed files with 84 additions and 160 deletions
+1 -4
View File
@@ -505,10 +505,7 @@ void V3Graph::sortEdges() {
// We know the vector contains all of the edges that were
// there originally (didn't delete or add)
vertexp->outUnlink();
for (std::vector<V3GraphEdge*>::const_iterator it = edges.begin(); it != edges.end();
++it) {
(*it)->outPushBack();
}
for (V3GraphEdge* edgep : edges) edgep->outPushBack();
// Prep for next
edges.clear();
}