diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-03 15:17:58 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-03 15:17:58 +0200 |
commit | 590030428a61afdea2effb4cd89bcdcc033a9276 (patch) | |
tree | 6653b40c9d5b83ac833d57c9c66b560e2f409453 /src/shared/cplusplus/Symbol.cpp | |
parent | a1c6efbd43e09591763c7dec5b1ff5cb9b8a0d7c (diff) | |
download | qt-creator-590030428a61afdea2effb4cd89bcdcc033a9276.tar.gz |
typo
Diffstat (limited to 'src/shared/cplusplus/Symbol.cpp')
-rw-r--r-- | src/shared/cplusplus/Symbol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Symbol.cpp b/src/shared/cplusplus/Symbol.cpp index 82d3e5c016..cecb468428 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 |