summaryrefslogtreecommitdiffstats
path: root/src/Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Node.cpp')
-rw-r--r--src/Node.cpp15
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()
96 return _parent; 96 return _parent;
97} 97}
98 98
99void Node::SetParent(Node* parent)
100{
101 //Unlink node first
102 if ( NULL != _parent )
103 {
104 plist_type type = plist_get_node_type(_parent);
105 if (PLIST_ARRAY ==type || PLIST_DICT == type )
106 {
107 Structure* s = static_cast<Structure*>(_parent);
108 s->Remove(this);
109 }
110 }
111 _parent = parent;
112}
113
114}; 99};