summaryrefslogtreecommitdiff
path: root/lib/input_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-11-18 19:23:17 -0800
committerJosh Blum2012-11-18 19:23:17 -0800
commiteaaf23409d7748409a343a39eb8087216057d3da (patch)
tree8f6a3e4c5a667f8f359defe87c2f79b6b2c4796f /lib/input_handlers.cpp
parent308a2403b23888c3f1d2b1ff3b579c1b17450cf1 (diff)
downloadsandhi-eaaf23409d7748409a343a39eb8087216057d3da.tar.gz
sandhi-eaaf23409d7748409a343a39eb8087216057d3da.tar.bz2
sandhi-eaaf23409d7748409a343a39eb8087216057d3da.zip
improvements to done logic (helps reserve 0 case)
Diffstat (limited to 'lib/input_handlers.cpp')
-rw-r--r--lib/input_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/input_handlers.cpp b/lib/input_handlers.cpp
index 3493f74..6b60e5c 100644
--- a/lib/input_handlers.cpp
+++ b/lib/input_handlers.cpp
@@ -42,7 +42,7 @@ void BlockActor::handle_input_check(const InputCheckMessage &message, const Ther
//an upstream block declared itself done, recheck the token
this->inputs_done.set(index, this->input_tokens[index].unique());
- if (this->any_inputs_done()) //missing an upstream provider
+ if (this->is_input_done(index)) //missing an upstream provider
{
this->mark_done();
}