diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-07-29 11:29:40 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-08-04 19:51:56 +0200 |
commit | 2d2ef81117fa59e53c5d682b88dde1113e71bd23 (patch) | |
tree | 140cf999316f4e2678c39e26f8d10498d586e79c /src/network/ssl/qsslsocket.h | |
parent | 0125e48ce0cc9a7d5c81f59855173fdd998d34df (diff) |
QtNetwork: use Q_DISABLE_COPY_MOVE
We have several classes inheriting QObject (directly or not) and disabling
copy (thus non-movable implicitly). Let's make them non-movable explicitly
now.
Change-Id: I509a066e9977480b30842afef26319b8afec6001
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket.h')
-rw-r--r-- | src/network/ssl/qsslsocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslsocket.h b/src/network/ssl/qsslsocket.h index c63a74a68c..a3fd14b813 100644 --- a/src/network/ssl/qsslsocket.h +++ b/src/network/ssl/qsslsocket.h @@ -191,7 +191,7 @@ protected: private: Q_DECLARE_PRIVATE(QSslSocket) - Q_DISABLE_COPY(QSslSocket) + Q_DISABLE_COPY_MOVE(QSslSocket) Q_PRIVATE_SLOT(d_func(), void _q_connectedSlot()) Q_PRIVATE_SLOT(d_func(), void _q_hostFoundSlot()) Q_PRIVATE_SLOT(d_func(), void _q_disconnectedSlot()) |