Worker: specify default value

This commit is contained in:
cohcho 2020-10-09 14:28:36 +00:00
parent 1fdc8631e3
commit 17795e3d7b

View file

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