summaryrefslogtreecommitdiffstats
path: root/include/plist/Dictionary.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-19 02:32:57 +0100
committerGravatar Nikias Bassen2014-03-19 02:32:57 +0100
commit6b719ecda2072dafeb98a44a6f4eac247748efc0 (patch)
treeb223294da3c9e4124ddead7c6ece4107b72d8b47 /include/plist/Dictionary.h
parentf9299fa80a7530fea4b829ea851972a664edf1fe (diff)
downloadlibplist-6b719ecda2072dafeb98a44a6f4eac247748efc0.tar.gz
libplist-6b719ecda2072dafeb98a44a6f4eac247748efc0.tar.bz2
deprecated plist_dict_insert_item in favor of plist_dict_set_item
Diffstat (limited to 'include/plist/Dictionary.h')
-rw-r--r--include/plist/Dictionary.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h
index a937bde..eee14af 100644
--- a/include/plist/Dictionary.h
+++ b/include/plist/Dictionary.h
@@ -46,7 +46,8 @@ public :
iterator Begin();
iterator End();
iterator Find(const std::string& key);
- iterator Insert(const std::string& key, Node* node);
+ iterator Set(const std::string& key, Node* node);
+ DEPRECATED("use Set() instead") iterator Insert(const std::string& key, Node* node);
void Remove(Node* node);
void Remove(const std::string& key);
std::string GetNodeKey(Node* key);