diff options
author | Josh Blum | 2013-03-28 01:13:21 -0700 |
---|---|---|
committer | Josh Blum | 2013-03-28 01:13:21 -0700 |
commit | 56a17f61079869830483709f5f6366923c735d7c (patch) | |
tree | dca3ccb2080e0c8f56472177d527064d8528797f /lib/element.cpp | |
parent | 3315ba892a865644ebfbd7d00d7a138a05bb76a8 (diff) | |
download | sandhi-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.cpp | 5 |
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(); |