thread: removed unused var

This commit is contained in:
itsmattkc
2022-06-10 12:11:52 -07:00
parent 6b13d806c6
commit 6391ef4a7f
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -29,7 +29,6 @@ ThreadPool::ThreadPool(unsigned threads, QObject *parent) :
threads = std::thread::hardware_concurrency();
}
available_count_ = threads;
for (unsigned i = 0; i < threads; i += 1) {
worker_threads_.emplace_back(std::bind(&ThreadPool::thread_exec, this, &tasks_, &task_mutex_, &cond_));
}