summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simplecontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simplecontext.cpp')
-rw-r--r--languages/cpp/simplecontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/simplecontext.cpp b/languages/cpp/simplecontext.cpp
index 3d23f76c..225bfc84 100644
--- a/languages/cpp/simplecontext.cpp
+++ b/languages/cpp/simplecontext.cpp
@@ -27,7 +27,7 @@ SimpleType getGlobal( SimpleType t ) {
SafetyCounter s( 50 );
while( !global.scope().isEmpty() && s ) {
if( !s ) { kdDebug( 9007 ) << "error" << endl; break; }
- global = global->tqparent();
+ global = global->parent();
}
if( !global.scope().isEmpty() ) {kdDebug( 9007 ) << "ERROR WITH GLOBAL SCOPE" << endl; return SimpleType(); }
return global;