Skip to content

Truly independent web browser

AK: Make IntrusiveListNode noncopyable

Shannon Booth632382c6cc75
diff --git a/AK/IntrusiveList.h b/AK/IntrusiveList.h
index bd47a4f7d08..35dc065e8d3 100644
--- a/AK/IntrusiveList.h
+++ b/AK/IntrusiveList.h
@@ -153,7 +153,10 @@ private:
template<typename T, typename Container>
class IntrusiveListNode {
+ AK_MAKE_NONCOPYABLE(IntrusiveListNode);
+
public:
+ IntrusiveListNode() = default;
~IntrusiveListNode();
void remove();
bool is_in_list() const;