Use uint64_t for AtomicCounter
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
struct AtomicCounter {
|
struct AtomicCounter {
|
||||||
std::atomic<int> value;
|
std::atomic<uint64_t> value;
|
||||||
|
|
||||||
AtomicCounter() : value {0} { }
|
AtomicCounter() : value {0} { }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user