From 9a6e065b36eae9c58bc8726ba3823529691035c8 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sat, 17 Jul 2021 02:24:02 -0700 Subject: [PATCH] AK: Mark AK::IntrusiveList Non copyable and movable --- AK/IntrusiveList.h | 4 ++++ 1 file changed, 4 insertions(+) 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();