mirror of
https://github.com/libimobiledevice/libplist
synced 2026-06-08 15:29:34 +00:00
Remove wrongly exposed SetParent method.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user