Internals: Favor const_iterators. No functional change intended.

This commit is contained in:
Wilson Snyder
2024-02-25 17:12:13 -05:00
parent 42041f2403
commit e320b0b581
8 changed files with 46 additions and 48 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ void V3Graph::dumpDotFile(const string& filename, bool colorAsSubgraph) const {
}
// Print ranks
for (auto dotRank : ranks) {
for (const auto& dotRank : ranks) {
*logp << "\t{ rank=";
if (dotRank != "sink" && dotRank != "source" && dotRank != "min" && dotRank != "max") {
*logp << "same";