mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGUI: Make ModelSelection non-copyable and non-movable
These are meant to be attached to an AbstractView at all times.
This commit is contained in:
@@ -31,10 +31,14 @@
|
||||
#include <AK/TemporaryChange.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGUI/ModelIndex.h>
|
||||
#include <AK/Noncopyable.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
class ModelSelection {
|
||||
AK_MAKE_NONCOPYABLE(ModelSelection);
|
||||
AK_MAKE_NONMOVABLE(ModelSelection);
|
||||
|
||||
public:
|
||||
ModelSelection(AbstractView& view)
|
||||
: m_view(view)
|
||||
|
||||
Reference in New Issue
Block a user