diff options
author | Nikias Bassen | 2023-04-21 12:56:53 +0200 |
---|---|---|
committer | Nikias Bassen | 2023-04-21 12:56:53 +0200 |
commit | 8aeda7886c590decfddb86ca2d17333b49f1a9d3 (patch) | |
tree | 24fb197f6d4776df20cab2fbe54ce5b313c76969 | |
parent | 6e65e1bfb487a893a4d8dbd2a812686677ad784d (diff) | |
download | libplist-8aeda7886c590decfddb86ca2d17333b49f1a9d3.tar.gz libplist-8aeda7886c590decfddb86ca2d17333b49f1a9d3.tar.bz2 |
C++: Remove deprecated Insert()
-rw-r--r-- | include/plist/Dictionary.h | 1 | ||||
-rw-r--r-- | src/Dictionary.cpp | 5 |
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) |