forked from lthn/blockchain
attempt to fix threads_pool on mac/clang
This commit is contained in:
parent
25163db2bf
commit
f407089855
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ namespace utils
|
|||
std::mutex batch_mutex;
|
||||
|
||||
|
||||
std::atomic<size_t> cnt = 0;
|
||||
std::atomic<size_t> cnt(0);
|
||||
for (const auto& jb : cntr)
|
||||
{
|
||||
call_executor_base* pjob = jb.get();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue