Use uint64_t for AtomicCounter
This commit is contained in:
parent
73a439185d
commit
3bddaf632e
|
@ -8,7 +8,7 @@
|
|||
#include <string>
|
||||
|
||||
struct AtomicCounter {
|
||||
std::atomic<int> value;
|
||||
std::atomic<uint64_t> value;
|
||||
|
||||
AtomicCounter() : value {0} { }
|
||||
|
||||
|
|
Loading…
Reference in New Issue