diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-12 00:37:23 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-12 22:32:38 +0100 |
commit | cbade33906dc0d090d5dba6231fb48e359afff95 (patch) | |
tree | 391399754e43332fa7bde336255dd17d83683228 /asl/containers/intrusive_list.hpp | |
parent | c8b73031d8a9f7770410c9d0e6da5b230e501e85 (diff) |
Some more shit
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) { |