QCoreApplication: fix a clazy-rule-of-three
The local RAII class was missing the Q_DISABLE_COPY(_MOVE). Add it. Amends f9035587b98ac5dc9491e642b8ec84470ec03f0e. Pick-to: 6.8 6.7 Change-Id: I19dfa18c301698e45353435b9b77e62332e54c31 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
6b105c54ee
commit
199a4535e7
@ -1825,6 +1825,8 @@ void QCoreApplicationPrivate::sendPostedEvents(QObject *receiver, int event_type
|
||||
|
||||
// Exception-safe cleaning up without the need for a try/catch block
|
||||
struct CleanUp {
|
||||
Q_DISABLE_COPY_MOVE(CleanUp)
|
||||
|
||||
QObject *receiver;
|
||||
int event_type;
|
||||
QThreadData *data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user