summaryrefslogtreecommitdiff
path: root/lib/gras_impl/block_actor.hpp
diff options
context:
space:
mode:
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 25c83f6..9006d6e 100644
--- a/lib/gras_impl/block_actor.hpp
+++ b/lib/gras_impl/block_actor.hpp
@@ -132,8 +132,7 @@ struct BlockActor : Apology::Worker
GRAS_FORCE_INLINE bool is_input_done(const size_t i)
{
- const bool available = this->input_queues.ready(i) and not this->input_queues.empty(i);
- return this->inputs_done[i] and not available;
+ return this->inputs_done[i] and not this->inputs_available[i];
}
GRAS_FORCE_INLINE bool is_work_allowed(void)