diff --git a/AK/RefCounted.h b/AK/RefCounted.h index 1c010fa162e..a9b90e0838b 100644 --- a/AK/RefCounted.h +++ b/AK/RefCounted.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -59,6 +60,8 @@ constexpr auto call_one_ref_left_if_present(...) -> FalseType } class RefCountedBase { + AK_MAKE_NONCOPYABLE(RefCountedBase) + AK_MAKE_NONMOVABLE(RefCountedBase) public: typedef unsigned int RefCountType;