summaryrefslogtreecommitdiff
path: root/lib/gras_impl/block_actor.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-06 13:01:04 -0700
committerJosh Blum2013-06-06 13:01:04 -0700
commit7350e18b8d5090349390f54b76a0e251b66ce619 (patch)
tree6ce12ebd668d120823c652f8b09d055a149d70dc /lib/gras_impl/block_actor.hpp
parent3739e119b81f0898755817eff618d45eed7e6692 (diff)
downloadsandhi-7350e18b8d5090349390f54b76a0e251b66ce619.tar.gz
sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.tar.bz2
sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.zip
gras: moved block ptr into data
Diffstat (limited to 'lib/gras_impl/block_actor.hpp')
-rw-r--r--lib/gras_impl/block_actor.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gras_impl/block_actor.hpp b/lib/gras_impl/block_actor.hpp
index 360c352..90e96bb 100644
--- a/lib/gras_impl/block_actor.hpp
+++ b/lib/gras_impl/block_actor.hpp
@@ -18,7 +18,6 @@ struct BlockActor : Theron::Actor
{
BlockActor(const ThreadPool &tp = ThreadPool());
~BlockActor(void);
- Block *block_ptr;
std::string name; //for debug
ThreadPool thread_pool;
Token prio_token;
@@ -104,7 +103,7 @@ struct BlockActor : Theron::Actor
//work helpers
inline void task_work(void)
{
- block_ptr->work(data->input_items, data->output_items);
+ data->block->work(data->input_items, data->output_items);
}
//property stuff