Internals: Favor const_iterator (in a few obvious spots, more needed). No functional change.

This commit is contained in:
Wilson Snyder
2020-03-15 18:34:09 -04:00
parent 57068b95ef
commit 5d9d1cc09f
12 changed files with 29 additions and 31 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ void V3Graph::dumpDotFile(const string& filename, bool colorAsSubgraph) const {
// Print vertices
int n = 0;
string subgr;
for (SubgraphMmap::iterator it = subgraphs.begin(); it!=subgraphs.end(); ++it) {
for (SubgraphMmap::const_iterator it = subgraphs.begin(); it != subgraphs.end(); ++it) {
string vertexSubgraph = it->first;
V3GraphVertex* vertexp = it->second;
numMap[vertexp] = n;