diff options
author | Josh Blum | 2012-09-30 02:48:22 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-30 02:48:22 -0700 |
commit | 8e224b5da13783bfd89eccd356b030146d02396d (patch) | |
tree | 1afb5d0221610f8fdcaa7041e61491e2027dcb3b /lib/block_task.cpp | |
parent | f5d9f2b631049f49b9008a95df56d5cc1ad11335 (diff) | |
download | sandhi-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/block_task.cpp')
-rw-r--r-- | lib/block_task.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp index 5b1a667..d1ff52b 100644 --- a/lib/block_task.cpp +++ b/lib/block_task.cpp @@ -250,7 +250,7 @@ GRAS_FORCE_INLINE void BlockActor::conclusion(void) { //since nothing else is coming in, its safe to mark done - if ((~this->inputs_done).none()) //no upstream providers + if (this->inputs_done.all()) //no upstream providers { if (not this->input_queues.all_ready() or this->forecast_fail) { |