diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index a016c63e0..14f8f6679 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -49,6 +49,11 @@ protected: IntrusiveListNode siblings; public: + IntrusiveListHook() noexcept = default; + + IntrusiveListHook(const IntrusiveListHook &) = delete; + IntrusiveListHook &operator=(const IntrusiveListHook &) = delete; + void unlink() noexcept { siblings.next->prev = siblings.prev; siblings.prev->next = siblings.next;