diff options
author | Rosen Penev | 2020-05-30 19:49:14 -0700 |
---|---|---|
committer | Nikias Bassen | 2020-06-03 19:58:18 +0200 |
commit | 68dc3f56426d16a856d82a9a5b5c000c915d87ac (patch) | |
tree | 9438e2feff53cd27d8e8da4e38c9979fbc9f0bab /include/plist | |
parent | f5fb0b4cf87b50c86531a7f0e98fa0637134c925 (diff) | |
download | libplist-68dc3f56426d16a856d82a9a5b5c000c915d87ac.tar.gz libplist-68dc3f56426d16a856d82a9a5b5c000c915d87ac.tar.bz2 |
c++: Fix inconsistent declarations
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'include/plist')
-rw-r--r-- | include/plist/Data.h | 2 | ||||
-rw-r--r-- | include/plist/Dictionary.h | 2 | ||||
-rw-r--r-- | include/plist/Key.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/plist/Data.h b/include/plist/Data.h index c9c089b..a100d28 100644 --- a/include/plist/Data.h +++ b/include/plist/Data.h @@ -34,7 +34,7 @@ public : Data(Node* parent = NULL); Data(plist_t node, Node* parent = NULL); Data(const Data& d); - Data& operator=(Data& d); + Data& operator=(Data& b); Data(const std::vector<char>& buff); virtual ~Data(); diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h index 71d40ac..931a569 100644 --- a/include/plist/Dictionary.h +++ b/include/plist/Dictionary.h @@ -55,7 +55,7 @@ public : 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* key); + std::string GetNodeKey(Node* node); private : std::map<std::string,Node*> _map; diff --git a/include/plist/Key.h b/include/plist/Key.h index c680f1c..e75aabc 100644 --- a/include/plist/Key.h +++ b/include/plist/Key.h @@ -33,8 +33,8 @@ class Key : public Node public : Key(Node* parent = NULL); Key(plist_t node, Node* parent = NULL); - Key(const Key& s); - Key& operator=(Key& s); + Key(const Key& k); + Key& operator=(Key& k); Key(const std::string& s); virtual ~Key(); |