diff options
Diffstat (limited to 'asl/containers/intrusive_list.hpp')
-rw-r--r-- | asl/containers/intrusive_list.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |