From fb2fae12e7dc45a82b388869642345fa6e37fb66 Mon Sep 17 00:00:00 2001 From: Andrew James Date: Fri, 22 Jul 2022 20:15:47 +1000 Subject: [PATCH] use correct attribute -_- (#5084) --- Source/utils/bitset2d.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/utils/bitset2d.hpp b/Source/utils/bitset2d.hpp index 154aab00e..d06d60448 100644 --- a/Source/utils/bitset2d.hpp +++ b/Source/utils/bitset2d.hpp @@ -36,7 +36,7 @@ public: data_.reset(); } - [[noexcept]] size_t count() const + [[nodiscard]] size_t count() const { return data_.count(); }