We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cef129 commit e3f04c9Copy full SHA for e3f04c9
1 file changed
taskflow/threadpool/workstealing_threadpool.hpp
@@ -500,7 +500,7 @@ size_t WorkStealingThreadpool<Closure>::num_workers() const {
500
template <typename Closure>
501
void WorkStealingThreadpool<Closure>::_balance_load(unsigned me) {
502
503
- auto n = _workers[me].queue.size();
+ unsigned n = _workers[me].queue.size();
504
505
// return if no idler - this might not be the right value
506
// but it doesn't affect the correctness
0 commit comments