summaryrefslogtreecommitdiff
path: root/lib/output_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/output_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/output_handlers.cpp')
-rw-r--r--lib/output_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output_handlers.cpp b/lib/output_handlers.cpp
index fa01b51..5165b2a 100644
--- a/lib/output_handlers.cpp
+++ b/lib/output_handlers.cpp
@@ -48,7 +48,7 @@ void BlockActor::handle_output_check(const OutputCheckMessage &message, const Th
//a downstream block has declared itself done, recheck the token
this->outputs_done.set(index, this->output_tokens[index].unique());
- if ((~this->outputs_done).none()) //no downstream subscribers?
+ if (this->outputs_done.all()) //no downstream subscribers?
{
this->mark_done();
}