summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/plist/Dictionary.h1
-rw-r--r--src/Dictionary.cpp5
2 files changed, 0 insertions, 6 deletions
diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h
index b61921b..b4d49ba 100644
--- a/include/plist/Dictionary.h
+++ b/include/plist/Dictionary.h
@@ -57,7 +57,6 @@ public :
const_iterator Find(const std::string& key) const;
iterator Set(const std::string& key, const Node* node);
iterator Set(const std::string& key, const Node& node);
- iterator Insert(const std::string& key, Node* node) PLIST_WARN_DEPRECATED("use Set() instead");
void Remove(Node* node);
void Remove(const std::string& key);
std::string GetNodeKey(Node* node);
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 5e76cb6..99e3b88 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -167,11 +167,6 @@ Dictionary::iterator Dictionary::Set(const std::string& key, const Node& node)
return Set(key, &node);
}
-Dictionary::iterator Dictionary::Insert(const std::string& key, Node* node)
-{
- return this->Set(key, node);
-}
-
void Dictionary::Remove(Node* node)
{
if (node)