diff options
author | Jonathan Beck | 2009-11-10 18:30:43 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-11-10 18:30:43 +0100 |
commit | 0f92ed12ff8a0f46e80ff8cfc030c476d371c19b (patch) | |
tree | 4015f1e91fbf46a6a211bcbe5d376c7f2e6a67a1 /src/Node.cpp | |
parent | 84596548e5d0cb14dfd7d2a74156331ab36a8909 (diff) | |
download | libplist-0f92ed12ff8a0f46e80ff8cfc030c476d371c19b.tar.gz libplist-0f92ed12ff8a0f46e80ff8cfc030c476d371c19b.tar.bz2 |
Remove wrongly exposed SetParent method.
Diffstat (limited to 'src/Node.cpp')
-rw-r--r-- | src/Node.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
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<Structure*>(_parent); - s->Remove(this); - } - } - _parent = parent; -} - }; |