summaryrefslogtreecommitdiff
path: root/lib/block.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-08-26 14:22:37 -0700
committerJosh Blum2012-08-26 16:03:52 -0700
commit305a0deac83d32561e8f62df0e88dbcb20b6cb90 (patch)
treed68227b7d901c6d2b720394b5fbe38700d3eae9c /lib/block.cpp
parent1e81e1cb8233aebcad60a2249d431701099c61fb (diff)
downloadsandhi-305a0deac83d32561e8f62df0e88dbcb20b6cb90.tar.gz
sandhi-305a0deac83d32561e8f62df0e88dbcb20b6cb90.tar.bz2
sandhi-305a0deac83d32561e8f62df0e88dbcb20b6cb90.zip
runtime: move task into its own file
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>