mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-12 09:37:35 +00:00
Merge pull request #1882 from cohcho/fix_atomic_init
Worker: specify default value
This commit is contained in:
commit
0a2fe5caa7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ protected:
|
|||
const size_t m_id;
|
||||
uint64_t m_hashCount[2] = {};
|
||||
uint64_t m_timestamp[2] = {};
|
||||
std::atomic<uint32_t> m_index;
|
||||
std::atomic<uint32_t> m_index = {};
|
||||
uint32_t m_node = 0;
|
||||
uint64_t m_count = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue