Skip to content
Snippets Groups Projects
Commit 59003042 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

typo

parent a1c6efbd
No related merge requests found
...@@ -330,10 +330,10 @@ Scope *Symbol::enclosingClassScope() const ...@@ -330,10 +330,10 @@ Scope *Symbol::enclosingClassScope() const
if (! _scope) if (! _scope)
return 0; return 0;
else if (_scope->isNamespaceScope()) else if (_scope->isClassScope())
return _scope; return _scope;
return _scope->enclosingNamespaceScope(); return _scope->enclosingClassScope();
} }
Scope *Symbol::enclosingEnumScope() const Scope *Symbol::enclosingEnumScope() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment