From 0f92ed12ff8a0f46e80ff8cfc030c476d371c19b Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Tue, 10 Nov 2009 18:30:43 +0100 Subject: Remove wrongly exposed SetParent method. --- src/Node.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/Node.cpp') diff --git a/src/Node.cpp b/src/Node.cpp index 8ed3c6a..b0cc96a 100644 --- a/src/Node.cpp +++ b/src/Node.cpp @@ -96,19 +96,4 @@ Node* Node::GetParent() return _parent; } -void Node::SetParent(Node* parent) -{ - //Unlink node first - if ( NULL != _parent ) - { - plist_type type = plist_get_node_type(_parent); - if (PLIST_ARRAY ==type || PLIST_DICT == type ) - { - Structure* s = static_cast(_parent); - s->Remove(this); - } - } - _parent = parent; -} - }; -- cgit v1.1-32-gdbae