From b97e42dcaa0c5c7d9d31ac0aab23369cc88adae5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 14 Aug 2020 12:04:03 +0200 Subject: LibGUI: Make ModelSelection non-copyable and non-movable These are meant to be attached to an AbstractView at all times. --- Libraries/LibGUI/ModelSelection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Libraries/LibGUI') diff --git a/Libraries/LibGUI/ModelSelection.h b/Libraries/LibGUI/ModelSelection.h index 1581126e3c..f31e08ae99 100644 --- a/Libraries/LibGUI/ModelSelection.h +++ b/Libraries/LibGUI/ModelSelection.h @@ -31,10 +31,14 @@ #include #include #include +#include namespace GUI { class ModelSelection { + AK_MAKE_NONCOPYABLE(ModelSelection); + AK_MAKE_NONMOVABLE(ModelSelection); + public: ModelSelection(AbstractView& view) : m_view(view) -- cgit v1.2.3