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
@@ -247,7 +247,7 @@ void V3Options::addArg(const string& arg) {
string V3Options::allArgsString() {
string out;
for (std::list<string>::iterator it=m_impp->m_allArgs.begin();
for (std::list<string>::const_iterator it = m_impp->m_allArgs.begin();
it != m_impp->m_allArgs.end(); ++it) {
if (out != "") out += " ";
out += *it;