From 56a17f61079869830483709f5f6366923c735d7c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 28 Mar 2013 01:13:21 -0700 Subject: gras: virtual destructors for all but Element #67 --- lib/element.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/element.cpp') diff --git a/lib/element.cpp b/lib/element.cpp index 4adc92c..f291310 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -26,6 +26,11 @@ Element::Element(const std::string &name) if (GENESIS) std::cerr << "New element: " << to_string() << std::endl; } +Element::~Element(void) +{ + //NOP +} + ElementImpl::~ElementImpl(void) { if (this->executor) this->top_block_cleanup(); -- cgit