mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Favor const_iterator (in a few obvious spots, more needed). No functional change.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user