summaryrefslogtreecommitdiff
path: root/lib/hier_block.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-08-19 14:27:11 -0700
committerJosh Blum2012-08-26 16:03:51 -0700
commitfa25d15ed1a7b85869229055ef32166ef1d8bef2 (patch)
tree0f39ab553dce30e9c8c11ab20f820d5753d5bf47 /lib/hier_block.cpp
parent87be8242fd5855a8e8f6a76fddf40275b711c784 (diff)
downloadsandhi-fa25d15ed1a7b85869229055ef32166ef1d8bef2.tar.gz
sandhi-fa25d15ed1a7b85869229055ef32166ef1d8bef2.tar.bz2
sandhi-fa25d15ed1a7b85869229055ef32166ef1d8bef2.zip
runtime: work on unit tests
Diffstat (limited to 'lib/hier_block.cpp')
-rw-r--r--lib/hier_block.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/hier_block.cpp b/lib/hier_block.cpp
index e915a23..c067ab6 100644
--- a/lib/hier_block.cpp
+++ b/lib/hier_block.cpp
@@ -24,10 +24,9 @@ HierBlock::HierBlock(void)
//NOP
}
-HierBlock::HierBlock(const std::string &name)
+HierBlock::HierBlock(const std::string &name):
+ Element(name)
{
- this->reset(new ElementImpl());
- (*this)->name = name;
tsbe::TopologyConfig config;
(*this)->topology = tsbe::Topology(config);
}