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 :
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();
......
......@@ -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;
......
......@@ -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();
......
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