From 8e224b5da13783bfd89eccd356b030146d02396d Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 30 Sep 2012 02:48:22 -0700 Subject: 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 --- lib/output_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/output_handlers.cpp') 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(); } -- cgit