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:
parent
6cdb1e6f64
commit
835dc7c818
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class DrmObject
|
|||
{
|
||||
public:
|
||||
virtual ~DrmObject() = default;
|
||||
DrmObject(const DrmObject &) = delete;
|
||||
|
||||
/**
|
||||
* Must be called to query necessary data directly after creation.
|
||||
|
|
Loading…
Reference in a new issue