summaryrefslogtreecommitdiffstats
path: root/include/plist/Node.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-16 22:26:13 +0200
committerGravatar Jonathan Beck2009-10-16 22:26:13 +0200
commit32be8ec384bfd78e189d3de6609e50cf4dd072a2 (patch)
treeac7edad0f19be2a31efaaaaa3acd477dd2f3c233 /include/plist/Node.h
parent8aeef4dd2331445fea8a7a40466b19973e9d09c4 (diff)
downloadlibplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.gz
libplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.bz2
Fix Node lifecycle and change argument as reference to const reference.
Diffstat (limited to 'include/plist/Node.h')
-rw-r--r--include/plist/Node.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/plist/Node.h b/include/plist/Node.h
index 3be900a..a59d469 100644
--- a/include/plist/Node.h
+++ b/include/plist/Node.h
@@ -31,11 +31,11 @@ class Node
31{ 31{
32 public : 32 public :
33 virtual ~Node(); 33 virtual ~Node();
34 Node(Node& node); 34
35 Node& operator=(const Node& node); 35 virtual Node* Clone() = 0;
36 36
37 plist_type GetType(); 37 plist_type GetType();
38 plist_t GetPlist() const; 38 plist_t GetPlist();
39 39
40 protected: 40 protected:
41 Node(); 41 Node();