summaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/basewrapper_p.h')
-rw-r--r--libshiboken/basewrapper_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libshiboken/basewrapper_p.h b/libshiboken/basewrapper_p.h
index e1a9a0e7..1357c89a 100644
--- a/libshiboken/basewrapper_p.h
+++ b/libshiboken/basewrapper_p.h
@@ -131,11 +131,13 @@ typedef std::list<SbkBaseWrapper*> ChildrenList;
struct ParentInfo
{
/// Default ctor.
- ParentInfo() : parent(0) {}
+ ParentInfo() : parent(0), hasWrapperRef(false) {}
/// Pointer to parent object.
SbkBaseWrapper* parent;
/// List of object children.
ChildrenList children;
+ /// has internal ref
+ bool hasWrapperRef;
};
/**