mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
C++11: Favor auto, range for. No functional change intended.
This commit is contained in:
+1
-3
@@ -487,9 +487,7 @@ void V3Graph::sortVertices() {
|
||||
}
|
||||
std::stable_sort(vertices.begin(), vertices.end(), GraphSortVertexCmp());
|
||||
this->verticesUnlink();
|
||||
for (std::vector<V3GraphVertex*>::iterator it = vertices.begin(); it != vertices.end(); ++it) {
|
||||
(*it)->verticesPushBack(this);
|
||||
}
|
||||
for (V3GraphVertex* ip : vertices) ip->verticesPushBack(this);
|
||||
}
|
||||
|
||||
void V3Graph::sortEdges() {
|
||||
|
||||
Reference in New Issue
Block a user