We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
constVariablePointer
1 parent 1250d70 commit 978311eCopy full SHA for 978311e
1 file changed
lib/symboldatabase.cpp
@@ -6518,7 +6518,7 @@ const Scope *Scope::findInNestedListRecursive(const std::string & name) const
6518
if (it != nestedList.end())
6519
return *it;
6520
6521
- for (Scope* scope: nestedList) {
+ for (const Scope* scope: nestedList) {
6522
const Scope *child = scope->findInNestedListRecursive(name);
6523
if (child)
6524
return child;
0 commit comments