From 590030428a61afdea2effb4cd89bcdcc033a9276 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Wed, 3 Jun 2009 15:17:58 +0200 Subject: [PATCH] typo --- src/shared/cplusplus/Symbol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/cplusplus/Symbol.cpp b/src/shared/cplusplus/Symbol.cpp index 82d3e5c0165..cecb4684280 100644 --- a/src/shared/cplusplus/Symbol.cpp +++ b/src/shared/cplusplus/Symbol.cpp @@ -330,10 +330,10 @@ Scope *Symbol::enclosingClassScope() const if (! _scope) return 0; - else if (_scope->isNamespaceScope()) + else if (_scope->isClassScope()) return _scope; - return _scope->enclosingNamespaceScope(); + return _scope->enclosingClassScope(); } Scope *Symbol::enclosingEnumScope() const -- GitLab