From 63fe35d5c511dfc94613ddd333dff81cf651a55e Mon Sep 17 00:00:00 2001 From: sowle Date: Sun, 20 Mar 2022 03:09:28 +0300 Subject: [PATCH] warning fix in threads pool --- src/common/threads_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/threads_pool.h b/src/common/threads_pool.h index 4e4e3905..b23c15b5 100644 --- a/src/common/threads_pool.h +++ b/src/common/threads_pool.h @@ -55,7 +55,7 @@ namespace utils { m_is_stop = false; - for (int i = 0; i < num_threads; i++) + for (unsigned int i = 0; i < num_threads; i++) { m_threads.push_back(std::thread([this]() {this->worker_func(); })); }