forked from lthn/blockchain
warning fix in threads pool
This commit is contained in:
parent
60adbfad02
commit
63fe35d5c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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(); }));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue