From 7dd4a1a07567cf6b3ec2e5a02980a4692f88dc21 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 16 Sep 2019 18:05:13 +0200 Subject: [PATCH] AtomicCondition::{get,set} noexcept --- include/sgnl/AtomicCondition.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }