summaryrefslogtreecommitdiff
path: root/include/gras/block.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-03-28 01:13:21 -0700
committerJosh Blum2013-03-28 01:13:21 -0700
commit56a17f61079869830483709f5f6366923c735d7c (patch)
treedca3ccb2080e0c8f56472177d527064d8528797f /include/gras/block.hpp
parent3315ba892a865644ebfbd7d00d7a138a05bb76a8 (diff)
downloadsandhi-56a17f61079869830483709f5f6366923c735d7c.tar.gz
sandhi-56a17f61079869830483709f5f6366923c735d7c.tar.bz2
sandhi-56a17f61079869830483709f5f6366923c735d7c.zip
gras: virtual destructors for all but Element #67
Diffstat (limited to 'include/gras/block.hpp')
-rw-r--r--include/gras/block.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gras/block.hpp b/include/gras/block.hpp
index 7595345..4211255 100644
--- a/include/gras/block.hpp
+++ b/include/gras/block.hpp
@@ -113,6 +113,8 @@ struct GRAS_API Block : Element
//! Create a new block given the name
Block(const std::string &name);
+ virtual ~Block(void);
+
/*******************************************************************
* Deal with input and output port configuration
******************************************************************/