AtomicCondition::{get,set} noexcept

This commit is contained in:
Tom 2019-09-16 18:05:13 +02:00
parent e60c80214e
commit 7dd4a1a075

View File

@ -23,12 +23,12 @@ public:
{ {
} }
ValueType get() const ValueType get() const noexcept
{ {
return this->value_.load(); return this->value_.load();
} }
void set(ValueType val) void set(ValueType val) noexcept
{ {
this->value_.store(val); this->value_.store(val);
} }