diff --git a/source/util-threadpool.cpp b/source/util-threadpool.cpp index a166053..1028e43 100644 --- a/source/util-threadpool.cpp +++ b/source/util-threadpool.cpp @@ -22,7 +22,7 @@ // Most Tasks likely wait for IO, so we can use that time for other tasks. #define CONCURRENCY_MULTIPLIER 2 -util::threadpool::threadpool() : _workers(), _tasks(), _tasks_lock(), _tasks_cv(), _worker_stop(false) +util::threadpool::threadpool() : _workers(), _worker_stop(false), _tasks(), _tasks_lock(), _tasks_cv() { size_t concurrency = static_cast(std::thread::hardware_concurrency()) * CONCURRENCY_MULTIPLIER; for (size_t n = 0; n < concurrency; n++) {