From 8f4af95760fe0887b375eec93646c6e617d5d20d Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Wed, 31 Jul 2013 17:53:40 -0400 Subject: [PATCH] Hm maybe it would be a good idea not to skip the first one --- openbr/plugins/meta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/meta.cpp b/openbr/plugins/meta.cpp index 7f827dc..ab82d05 100644 --- a/openbr/plugins/meta.cpp +++ b/openbr/plugins/meta.cpp @@ -663,7 +663,7 @@ public: // waiting thread will wait on them in the order added (which for uniform priority // threads is the order of execution), and we want the waiting thread to go in the opposite order // so that it can steal runnables and do something besides wait. - for (int i = temp.size() - 1; i > 0; i--) { + for (int i = temp.size() - 1; i >= 0; i--) { futures.addFuture(temp[i]); } -- libgit2 0.21.4