diff options
| author | 2020-05-30 19:49:14 -0700 | |
|---|---|---|
| committer | 2020-06-03 19:58:18 +0200 | |
| commit | 68dc3f56426d16a856d82a9a5b5c000c915d87ac (patch) | |
| tree | 9438e2feff53cd27d8e8da4e38c9979fbc9f0bab | |
| parent | f5fb0b4cf87b50c86531a7f0e98fa0637134c925 (diff) | |
| download | libplist-68dc3f56426d16a856d82a9a5b5c000c915d87ac.tar.gz libplist-68dc3f56426d16a856d82a9a5b5c000c915d87ac.tar.bz2 | |
c++: Fix inconsistent declarations
Signed-off-by: Rosen Penev <rosenp@gmail.com>
| -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 : | |||
| 34 | Data(Node* parent = NULL); | 34 | Data(Node* parent = NULL); |
| 35 | Data(plist_t node, Node* parent = NULL); | 35 | Data(plist_t node, Node* parent = NULL); |
| 36 | Data(const Data& d); | 36 | Data(const Data& d); |
| 37 | Data& operator=(Data& d); | 37 | Data& operator=(Data& b); |
| 38 | Data(const std::vector<char>& buff); | 38 | Data(const std::vector<char>& buff); |
| 39 | virtual ~Data(); | 39 | virtual ~Data(); |
| 40 | 40 | ||
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 : | |||
| 55 | iterator Insert(const std::string& key, Node* node) PLIST_WARN_DEPRECATED("use Set() instead"); | 55 | iterator Insert(const std::string& key, Node* node) PLIST_WARN_DEPRECATED("use Set() instead"); |
| 56 | void Remove(Node* node); | 56 | void Remove(Node* node); |
| 57 | void Remove(const std::string& key); | 57 | void Remove(const std::string& key); |
| 58 | std::string GetNodeKey(Node* key); | 58 | std::string GetNodeKey(Node* node); |
| 59 | 59 | ||
| 60 | private : | 60 | private : |
| 61 | std::map<std::string,Node*> _map; | 61 | 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 | |||
| 33 | public : | 33 | public : |
| 34 | Key(Node* parent = NULL); | 34 | Key(Node* parent = NULL); |
| 35 | Key(plist_t node, Node* parent = NULL); | 35 | Key(plist_t node, Node* parent = NULL); |
| 36 | Key(const Key& s); | 36 | Key(const Key& k); |
| 37 | Key& operator=(Key& s); | 37 | Key& operator=(Key& k); |
| 38 | Key(const std::string& s); | 38 | Key(const std::string& s); |
| 39 | virtual ~Key(); | 39 | virtual ~Key(); |
| 40 | 40 | ||
