From cbade33906dc0d090d5dba6231fb48e359afff95 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 12 Mar 2025 00:37:23 +0100 Subject: Some more shit --- asl/containers/intrusive_list.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asl/containers/intrusive_list.hpp') diff --git a/asl/containers/intrusive_list.hpp b/asl/containers/intrusive_list.hpp index af11424..8cafdff 100644 --- a/asl/containers/intrusive_list.hpp +++ b/asl/containers/intrusive_list.hpp @@ -47,7 +47,7 @@ public: ASL_DEFAULT_MOVE(IntrusiveList); ~IntrusiveList() = default; - constexpr bool is_empty() const { return m_head == nullptr; } + [[nodiscard]] constexpr bool is_empty() const { return m_head == nullptr; } void push_front(T* node) { -- cgit