AtomicCondition::{get,set} noexcept
This commit is contained in:
parent
e60c80214e
commit
7dd4a1a075
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user