From 32be8ec384bfd78e189d3de6609e50cf4dd072a2 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Fri, 16 Oct 2009 22:26:13 +0200 Subject: Fix Node lifecycle and change argument as reference to const reference. --- include/plist/Node.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/plist/Node.h') 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 { public : virtual ~Node(); - Node(Node& node); - Node& operator=(const Node& node); - + + virtual Node* Clone() = 0; + plist_type GetType(); - plist_t GetPlist() const; + plist_t GetPlist(); protected: Node(); -- cgit v1.1-32-gdbae