diff --git a/src/libs/cplusplus/CppBindings.cpp b/src/libs/cplusplus/CppBindings.cpp index e011c862359494d46eabf0eea53c92478de37fcf..1eb11b312733247ab07a6c09027108284c41b97f 100644 --- a/src/libs/cplusplus/CppBindings.cpp +++ b/src/libs/cplusplus/CppBindings.cpp @@ -676,6 +676,8 @@ ClassBinding *Binder::findClassBinding(Name *name) if (classBinding) { if (ClassBinding *k = classBinding->findClassBinding(name, &processed)) return k; + + processed.clear(); } if (namespaceBinding) @@ -718,8 +720,6 @@ bool Binder::visit(UsingNamespaceDirective *u) bool Binder::visit(Class *classSymbol) { - Overview oo; - ClassBinding *binding = findOrCreateClassBinding(classSymbol); ClassBinding *previousClassBinding = switchClassBinding(binding);