summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qudpsocket.h
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-07-29 11:29:40 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-08-04 19:51:56 +0200
commit2d2ef81117fa59e53c5d682b88dde1113e71bd23 (patch)
tree140cf999316f4e2678c39e26f8d10498d586e79c /src/network/socket/qudpsocket.h
parent0125e48ce0cc9a7d5c81f59855173fdd998d34df (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/socket/qudpsocket.h')
-rw-r--r--src/network/socket/qudpsocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qudpsocket.h b/src/network/socket/qudpsocket.h
index ce4429d1cd..e2ddba1362 100644
--- a/src/network/socket/qudpsocket.h
+++ b/src/network/socket/qudpsocket.h
@@ -83,7 +83,7 @@ public:
{ return writeDatagram(datagram.constData(), datagram.size(), host, port); }
private:
- Q_DISABLE_COPY(QUdpSocket)
+ Q_DISABLE_COPY_MOVE(QUdpSocket)
Q_DECLARE_PRIVATE(QUdpSocket)
};