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;
|
const size_t m_id;
|
||||||
uint64_t m_hashCount[2] = {};
|
uint64_t m_hashCount[2] = {};
|
||||||
uint64_t m_timestamp[2] = {};
|
uint64_t m_timestamp[2] = {};
|
||||||
std::atomic<uint32_t> m_index;
|
std::atomic<uint32_t> m_index = {};
|
||||||
uint32_t m_node = 0;
|
uint32_t m_node = 0;
|
||||||
uint64_t m_count = 0;
|
uint64_t m_count = 0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue