summaryrefslogtreecommitdiff
path: root/lib/element.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-03-28 01:13:21 -0700
committerJosh Blum2013-03-28 01:13:21 -0700
commit56a17f61079869830483709f5f6366923c735d7c (patch)
treedca3ccb2080e0c8f56472177d527064d8528797f /lib/element.cpp
parent3315ba892a865644ebfbd7d00d7a138a05bb76a8 (diff)
downloadsandhi-56a17f61079869830483709f5f6366923c735d7c.tar.gz
sandhi-56a17f61079869830483709f5f6366923c735d7c.tar.bz2
sandhi-56a17f61079869830483709f5f6366923c735d7c.zip
gras: virtual destructors for all but Element #67
Diffstat (limited to 'lib/element.cpp')
-rw-r--r--lib/element.cpp5
1 files changed, 5 insertions, 0 deletions
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();