Commit 68dc3f56 authored by Rosen Penev's avatar Rosen Penev Committed by Nikias Bassen

c++: Fix inconsistent declarations

Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent f5fb0b4c
...@@ -34,7 +34,7 @@ public : ...@@ -34,7 +34,7 @@ public :
Data(Node* parent = NULL); Data(Node* parent = NULL);
Data(plist_t node, Node* parent = NULL); Data(plist_t node, Node* parent = NULL);
Data(const Data& d); Data(const Data& d);
Data& operator=(Data& d); Data& operator=(Data& b);
Data(const std::vector<char>& buff); Data(const std::vector<char>& buff);
virtual ~Data(); virtual ~Data();
......
...@@ -55,7 +55,7 @@ public : ...@@ -55,7 +55,7 @@ public :
iterator Insert(const std::string& key, Node* node) PLIST_WARN_DEPRECATED("use Set() instead"); iterator Insert(const std::string& key, Node* node) PLIST_WARN_DEPRECATED("use Set() instead");
void Remove(Node* node); void Remove(Node* node);
void Remove(const std::string& key); void Remove(const std::string& key);
std::string GetNodeKey(Node* key); std::string GetNodeKey(Node* node);
private : private :
std::map<std::string,Node*> _map; std::map<std::string,Node*> _map;
......
...@@ -33,8 +33,8 @@ class Key : public Node ...@@ -33,8 +33,8 @@ class Key : public Node
public : public :
Key(Node* parent = NULL); Key(Node* parent = NULL);
Key(plist_t node, Node* parent = NULL); Key(plist_t node, Node* parent = NULL);
Key(const Key& s); Key(const Key& k);
Key& operator=(Key& s); Key& operator=(Key& k);
Key(const std::string& s); Key(const std::string& s);
virtual ~Key(); virtual ~Key();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment