diff --git a/include/sgnl/AtomicCondition.h b/include/sgnl/AtomicCondition.h index 81bbf22..4d0a016 100644 --- a/include/sgnl/AtomicCondition.h +++ b/include/sgnl/AtomicCondition.h @@ -23,12 +23,12 @@ public: { } - ValueType get() const + ValueType get() const noexcept { return this->value_.load(); } - void set(ValueType val) + void set(ValueType val) noexcept { this->value_.store(val); }