Remove wrongly exposed SetParent method.

This commit is contained in:
Jonathan Beck
2009-11-10 18:30:43 +01:00
parent 84596548e5
commit 0f92ed12ff
6 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ Dictionary::iterator Dictionary::Insert(const std::string& key, Node* node)
if (node)
{
Node* clone = node->Clone();
clone->SetParent(this);
UpdateNodeParent(clone);
plist_dict_insert_item(_node, key.c_str(), clone->GetPlist());
delete _map[key];
_map[key] = clone;