From dcd1a78f48dad1894921394ae75251e7eb9d1de3 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 4 Apr 2013 22:24:51 -0700 Subject: gras: Element can have virtual destructor now fixes #67 Now that we no longer need shared from this --- include/gras/element.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gras/element.hpp b/include/gras/element.hpp index 98286e2..78af403 100644 --- a/include/gras/element.hpp +++ b/include/gras/element.hpp @@ -49,7 +49,7 @@ struct GRAS_API Element : ElementBase template Element(const boost::shared_ptr &elem); - /*virtual*/ ~Element(void); + virtual ~Element(void); //! Convert this object to the element base class const Element &to_element(void) const; -- cgit