diff options
| author | 2009-11-10 18:30:43 +0100 | |
|---|---|---|
| committer | 2009-11-10 18:30:43 +0100 | |
| commit | 0f92ed12ff8a0f46e80ff8cfc030c476d371c19b (patch) | |
| tree | 4015f1e91fbf46a6a211bcbe5d376c7f2e6a67a1 /src/Dictionary.cpp | |
| parent | 84596548e5d0cb14dfd7d2a74156331ab36a8909 (diff) | |
| download | libplist-0f92ed12ff8a0f46e80ff8cfc030c476d371c19b.tar.gz libplist-0f92ed12ff8a0f46e80ff8cfc030c476d371c19b.tar.bz2 | |
Remove wrongly exposed SetParent method.
Diffstat (limited to 'src/Dictionary.cpp')
| -rw-r--r-- | src/Dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 62ed433..8b5565f 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp | |||
| @@ -147,7 +147,7 @@ Dictionary::iterator Dictionary::Insert(const std::string& key, Node* node) | |||
| 147 | if (node) | 147 | if (node) |
| 148 | { | 148 | { |
| 149 | Node* clone = node->Clone(); | 149 | Node* clone = node->Clone(); |
| 150 | clone->SetParent(this); | 150 | UpdateNodeParent(clone); |
| 151 | plist_dict_insert_item(_node, key.c_str(), clone->GetPlist()); | 151 | plist_dict_insert_item(_node, key.c_str(), clone->GetPlist()); |
| 152 | delete _map[key]; | 152 | delete _map[key]; |
| 153 | _map[key] = clone; | 153 | _map[key] = clone; |
