1
0
Fork 0
forked from lthn/blockchain

warning fix in threads pool

This commit is contained in:
sowle 2022-03-20 03:09:28 +03:00
parent 60adbfad02
commit 63fe35d5c5

View file

@ -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(); }));
}