diff --git a/AK/IntrusiveList.h b/AK/IntrusiveList.h index d2346d4f1b51be..804b3d075f4a63 100644 --- a/AK/IntrusiveList.h +++ b/AK/IntrusiveList.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace AK { @@ -45,6 +46,9 @@ class IntrusiveListStorage { template T::*member> class IntrusiveList { + AK_MAKE_NONCOPYABLE(IntrusiveList); + AK_MAKE_NONMOVABLE(IntrusiveList); + public: IntrusiveList() = default; ~IntrusiveList();