summaryrefslogtreecommitdiffstats
path: root/include/plist
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-05-30 19:49:14 -0700
committerGravatar Nikias Bassen2020-06-03 19:58:18 +0200
commit68dc3f56426d16a856d82a9a5b5c000c915d87ac (patch)
tree9438e2feff53cd27d8e8da4e38c9979fbc9f0bab /include/plist
parentf5fb0b4cf87b50c86531a7f0e98fa0637134c925 (diff)
downloadlibplist-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.h2
-rw-r--r--include/plist/Dictionary.h2
-rw-r--r--include/plist/Key.h4
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();