Invoke the right overload.

This commit is contained in:
Roberto Raggi
2010-05-05 12:50:20 +02:00
parent 95aae8bb5e
commit e821be344d

View File

@@ -145,7 +145,7 @@ ClassOrNamespace *LookupContext::classOrNamespace(const Name *name, Symbol *last
if (lastVisibleSymbol && lastVisibleSymbol->scope())
scope = lastVisibleSymbol->scope();
return classOrNamespace(name, lastVisibleSymbol);
return classOrNamespace(name, scope);
}
QList<Symbol *> LookupContext::lookup(const Name *name, Symbol *lastVisibleSymbol) const