Commit 8f4af95760fe0887b375eec93646c6e617d5d20d

Authored by Charles Otto
1 parent 0d7cfeef

Hm maybe it would be a good idea not to skip the first one

Showing 1 changed file with 1 additions and 1 deletions
openbr/plugins/meta.cpp
@@ -663,7 +663,7 @@ public: @@ -663,7 +663,7 @@ public:
663 // waiting thread will wait on them in the order added (which for uniform priority 663 // waiting thread will wait on them in the order added (which for uniform priority
664 // threads is the order of execution), and we want the waiting thread to go in the opposite order 664 // threads is the order of execution), and we want the waiting thread to go in the opposite order
665 // so that it can steal runnables and do something besides wait. 665 // so that it can steal runnables and do something besides wait.
666 - for (int i = temp.size() - 1; i > 0; i--) { 666 + for (int i = temp.size() - 1; i >= 0; i--) {
667 futures.addFuture(temp[i]); 667 futures.addFuture(temp[i]);
668 } 668 }
669 669