diff options
Diffstat (limited to 'include/my_atomic_wrapper.h')
-rw-r--r-- | include/my_atomic_wrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_atomic_wrapper.h b/include/my_atomic_wrapper.h index c574fba4a8e..f5a4b8b80d3 100644 --- a/include/my_atomic_wrapper.h +++ b/include/my_atomic_wrapper.h @@ -39,7 +39,7 @@ public: Atomic_relaxed(const Atomic_relaxed<Type> &rhs) { m.store(rhs, std::memory_order_relaxed); } Atomic_relaxed(Type val) : m(val) {} - Atomic_relaxed() {} + Atomic_relaxed() = default; operator Type() const { return m.load(std::memory_order_relaxed); } Type operator=(const Type val) |