summaryrefslogtreecommitdiff
path: root/lib/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block.cpp')
-rw-r--r--lib/block.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/block.cpp b/lib/block.cpp
index d7156f7..0755a2c 100644
--- a/lib/block.cpp
+++ b/lib/block.cpp
@@ -40,6 +40,7 @@ Block::Block(const std::string &name):
config.task_callback = boost::bind(&ElementImpl::handle_task, this->get(), _1);
(*this)->block = tsbe::Block(config);
+ (*this)->block_ptr = this;
}
template <typename V, typename T>