summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simpletypenamespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simpletypenamespace.cpp')
-rw-r--r--languages/cpp/simpletypenamespace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/simpletypenamespace.cpp b/languages/cpp/simpletypenamespace.cpp
index 10e9b83d..f7937db1 100644
--- a/languages/cpp/simpletypenamespace.cpp
+++ b/languages/cpp/simpletypenamespace.cpp
@@ -159,7 +159,7 @@ SimpleTypeImpl::MemberInfo SimpleTypeNamespace::findMember( TypeDesc name, Membe
if ( mem.memberType != MemberInfo::Namespace ) {
#ifdef PHYSICAL_IMPORT
TypePointer b = mem.build();
- if ( b && !( b->tqparent()->masterProxy().data() == this ) ) {
+ if ( b && !( b->parent()->masterProxy().data() == this ) ) {
b = b ->clone(); //expensive, cache is not shared
b->setParent( this );
@@ -169,7 +169,7 @@ SimpleTypeImpl::MemberInfo SimpleTypeNamespace::findMember( TypeDesc name, Membe
if( mem.memberType == MemberInfo::NestedType )
chooseSpecialization( mem );
TypePointer b = mem.build();
- if( b && b->tqparent() && b->tqparent()->masterProxy().data() == this )
+ if( b && b->parent() && b->parent()->masterProxy().data() == this )
b->setParent( this );
#endif
return mem;