mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:17:44 +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:
parent
9bdd8ec3f3
commit
b97e42dcaa
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue