summaryrefslogtreecommitdiff
path: root/lib/input_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-30 02:48:22 -0700
committerJosh Blum2012-09-30 02:48:22 -0700
commit8e224b5da13783bfd89eccd356b030146d02396d (patch)
tree1afb5d0221610f8fdcaa7041e61491e2027dcb3b /lib/input_handlers.cpp
parentf5d9f2b631049f49b9008a95df56d5cc1ad11335 (diff)
downloadsandhi-8e224b5da13783bfd89eccd356b030146d02396d.tar.gz
sandhi-8e224b5da13783bfd89eccd356b030146d02396d.tar.bz2
sandhi-8e224b5da13783bfd89eccd356b030146d02396d.zip
created a bitset wrapper w/ all() routine
as it turns out ~ was making a new bitset and a malloc just make some common code to avoid the reuse
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 461600f..193647d 100644
--- a/lib/input_handlers.cpp
+++ b/lib/input_handlers.cpp
@@ -57,7 +57,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->inputs_done).none()) //no upstream providers
+ if (this->inputs_done.all()) //no upstream providers
{
if (not this->input_queues.all_ready())
{