diff --git a/AK/Noncopyable.h b/AK/Noncopyable.h index 8fcd948df83..9c08a9b3f9f 100644 --- a/AK/Noncopyable.h +++ b/AK/Noncopyable.h @@ -20,3 +20,8 @@ private: \ public: \ c(c&&) = default; \ c& operator=(c&&) = default + +#define AK_MAKE_DEFAULT_COPYABLE(c) \ +public: \ + c(c const&) = default; \ + c& operator=(c const&) = default