Skip to content

Commit e3f04c9

Browse files
committed
Fix the unsigned at L503
1 parent 0cef129 commit e3f04c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskflow/threadpool/workstealing_threadpool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ size_t WorkStealingThreadpool<Closure>::num_workers() const {
500500
template <typename Closure>
501501
void WorkStealingThreadpool<Closure>::_balance_load(unsigned me) {
502502

503-
auto n = _workers[me].queue.size();
503+
unsigned n = _workers[me].queue.size();
504504

505505
// return if no idler - this might not be the right value
506506
// but it doesn't affect the correctness

0 commit comments

Comments
 (0)