diff options
Diffstat (limited to 'common/atomic.h')
-rw-r--r-- | common/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/atomic.h b/common/atomic.h index 4eb49598..e85c4f76 100644 --- a/common/atomic.h +++ b/common/atomic.h @@ -93,7 +93,7 @@ public: { return unique_ptr_t{mPointer.exchange(ptr.release(), m)}; } [[nodiscard]] - auto is_lock_free() const noexcept -> bool { mPointer.is_lock_free(); } + auto is_lock_free() const noexcept -> bool { return mPointer.is_lock_free(); } static constexpr auto is_always_lock_free = std::atomic<gsl::owner<T*>>::is_always_lock_free; }; |