Explicitly mark DrmObject as non-copyable

It implicitly already is not copyable, due to the unique_ptr member.
However, Qt6 moc code isn't realizing that and fails to compile the
DrmPlane Q_GADGET sub-class of this.
This commit is contained in:
Volker Krause 2022-07-21 19:15:34 +02:00
parent 6cdb1e6f64
commit 835dc7c818

View file

@ -29,6 +29,7 @@ class DrmObject
{
public:
virtual ~DrmObject() = default;
DrmObject(const DrmObject &) = delete;
/**
* Must be called to query necessary data directly after creation.