diff options
author | Chris Robinson <[email protected]> | 2024-01-03 14:57:52 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2024-01-03 14:57:52 -0800 |
commit | e90075031dfeec7ff03d5d1c5e319e7472312f46 (patch) | |
tree | 34676c1a733adff7888452ba3fdc1fd417f4e9a8 | |
parent | ed98cbefd014a5166ec086fd276eb283cdab22aa (diff) |
Add a missing return
-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; }; |