Commit 835dc7c8 authored by Volker Krause's avatar Volker Krause
Browse files

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.
parent 6cdb1e6f
Pipeline #218531 passed with stage
in 12 minutes and 40 seconds
......@@ -29,6 +29,7 @@ class DrmObject
{
public:
virtual ~DrmObject() = default;
DrmObject(const DrmObject &) = delete;
/**
* Must be called to query necessary data directly after creation.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment