From 7350e18b8d5090349390f54b76a0e251b66ce619 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 6 Jun 2013 13:01:04 -0700 Subject: gras: moved block ptr into data --- lib/gras_impl/block_actor.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/gras_impl/block_actor.hpp') 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 -- cgit