CTF: Use Q_DISABLE_COPY for QCtfLib

Pick-to: 6.5
Change-Id: Ife1d0670486ac0820b53c9e015249115685e4997
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
This commit is contained in:
Antti Määttä 2023-03-21 12:47:36 +02:00
parent ebdf20240c
commit 5ad1ea092e

View File

@ -224,7 +224,9 @@ inline QByteArray toByteArrayFromFlags(QFlags<T> value)
class Q_CORE_EXPORT QCtfLib : public QObject
{
Q_OBJECT
Q_DISABLE_COPY(QCtfLib)
public:
explicit QCtfLib(QObject *parent = nullptr) : QObject(parent) {}
virtual ~QCtfLib() = default;
virtual bool tracepointEnabled(const QCtfTracePointEvent &point) = 0;
virtual void doTracepoint(const QCtfTracePointEvent &point, const QByteArray &arr) = 0;