From fed2573566c2da1c5489260069a99ae9d2abf255 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Wed, 28 Oct 2009 18:08:33 +0100 Subject: Unlink previous node in SetParent(). --- include/plist/Structure.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/plist/Structure.h') diff --git a/include/plist/Structure.h b/include/plist/Structure.h index 6f100cc..239a8b8 100644 --- a/include/plist/Structure.h +++ b/include/plist/Structure.h @@ -38,6 +38,8 @@ class Structure : public Node std::string ToXml(); std::vector ToBin(); + + virtual void Remove(Node* node) = 0; protected: Structure(Node* parent = NULL); -- cgit v1.1-32-gdbae