summaryrefslogtreecommitdiffstats
path: root/test/maid_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/maid_test.cpp')
-rw-r--r--test/maid_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/maid_test.cpp b/test/maid_test.cpp
index cb4e461..2a936f9 100644
--- a/test/maid_test.cpp
+++ b/test/maid_test.cpp
@@ -38,7 +38,7 @@ public:
~Junk() override { --n_junk; }
- size_t value() const { return _val; }
+ [[nodiscard]] size_t value() const { return _val; }
private:
size_t _val;