diff options
Diffstat (limited to 'runtime/atomic.h')
-rw-r--r-- | runtime/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/atomic.h b/runtime/atomic.h index 9c36a7a..e57c0c0 100644 --- a/runtime/atomic.h +++ b/runtime/atomic.h @@ -187,7 +187,7 @@ class QuasiAtomic { template<typename T> class PACKED(sizeof(T)) Atomic : public std::atomic<T> { public: - Atomic<T>() : std::atomic<T>() { } + Atomic<T>() : std::atomic<T>(0) { } explicit Atomic<T>(T value) : std::atomic<T>(value) { } |