Avoid C++11 for-range to make AppVeyor happy
This commit is contained in:
parent
381fa53ec6
commit
9c8922541e
|
@ -3406,8 +3406,8 @@ const Enumerator * SymbolDatabase::findEnumerator(const Token * tok) const
|
||||||
if (enumerator)
|
if (enumerator)
|
||||||
return enumerator;
|
return enumerator;
|
||||||
|
|
||||||
for (const Scope * s : scope->nestedList) {
|
for (std::list<Scope*>::const_iterator s = scope->nestedList.begin(); s != scope->nestedList.end(); ++s) {
|
||||||
enumerator = s->findEnumerator(tok->str());
|
enumerator = (*s)->findEnumerator(tok->str());
|
||||||
|
|
||||||
if (enumerator)
|
if (enumerator)
|
||||||
return enumerator;
|
return enumerator;
|
||||||
|
|
Loading…
Reference in New Issue