From 42430a13183a0018c4cc4d5f8d8c8d477adee9b4 Mon Sep 17 00:00:00 2001
From: ganovelli <fabio.ganovelli@isti.cnr.it>
Date: Fri, 16 May 2008 10:09:26 +0000
Subject: [PATCH] added virtual destructor

---
 vcg/container/simple_temporary_data.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/vcg/container/simple_temporary_data.h b/vcg/container/simple_temporary_data.h
index 4f6f0a4f..ffa5dd3a 100644
--- a/vcg/container/simple_temporary_data.h
+++ b/vcg/container/simple_temporary_data.h
@@ -24,6 +24,9 @@
   History
 
 $Log: not supported by cvs2svn $
+Revision 1.7  2008/05/16 08:48:49  ganovelli
+ Enable() and Disable()  removed.  The memory is allocated by the contructor
+
 Revision 1.6  2008/05/15 16:35:17  ganovelli
 Start() Stop() removed. Allocation on creation, disallocaiton on distruction
 
@@ -52,8 +55,8 @@ namespace vcg {
 template <class STL_CONT>
 class SimpleTempDataBase{
 public:
-	virtual void Enable()= 0;
-	virtual void Disable()= 0;
+	virtual ~SimpleTempDataBase() {};
+	SimpleTempDataBase() {};
 	virtual void Resize(const int & sz) = 0;
 	virtual void Reorder(std::vector<size_t> & newVertIndex)=0;
 };