summaryrefslogtreecommitdiffstats
path: root/include/raul/DoubleBuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/raul/DoubleBuffer.hpp')
-rw-r--r--include/raul/DoubleBuffer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/raul/DoubleBuffer.hpp b/include/raul/DoubleBuffer.hpp
index e391bb4..78ad6a0 100644
--- a/include/raul/DoubleBuffer.hpp
+++ b/include/raul/DoubleBuffer.hpp
@@ -39,7 +39,7 @@ public:
~DoubleBuffer() = default;
- const T& get() const
+ [[nodiscard]] const T& get() const
{
switch (_state.load(std::memory_order_acquire)) {
case State::READ_WRITE: