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 c5820b4f5b6..80debdc6d59 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; Type load(std::memory_order o= std::memory_order_relaxed) const { return m.load(o); } |