From 0ca7bf4f139dc23088ce1979a6c306f88b4da990 Mon Sep 17 00:00:00 2001
From: Markus Blatt <mblatt@dune-project.org>
Date: Tue, 13 Dec 2005 11:54:50 +0000
Subject: [PATCH] Added virtual constructor to calm compiler.

[[Imported from SVN: r3621]]
---
 common/interfaces.hh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/common/interfaces.hh b/common/interfaces.hh
index 7cea9fc5d..3278f8eb0 100644
--- a/common/interfaces.hh
+++ b/common/interfaces.hh
@@ -16,6 +16,11 @@ namespace Dune {
        delete the resulting pointer.
      */
     virtual Cloneable* clone() const = 0;
+
+    /** \brief Destructor */
+    virtual ~Cloneable()
+    {}
+
   };
 
   //! Tagging interface to indicate that Grid provides typedef ObjectStreamType
-- 
GitLab