From 797a3709d7388e990f9266a1f0c371e13f505ce3 Mon Sep 17 00:00:00 2001 From: Sebastian Zenker Date: Mon, 18 Jan 2016 08:21:15 +0100 Subject: [PATCH] C++/Qt: make use of Q_DISABLE_COPY() to get rid of copy ctor and assignment operator --- lib/cpp/src/thrift/qt/TQTcpServer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cpp/src/thrift/qt/TQTcpServer.h b/lib/cpp/src/thrift/qt/TQTcpServer.h index 3403f1e6647..8bbb3dfcfa5 100644 --- a/lib/cpp/src/thrift/qt/TQTcpServer.h +++ b/lib/cpp/src/thrift/qt/TQTcpServer.h @@ -59,8 +59,7 @@ private Q_SLOTS: void socketClosed(); private: - TQTcpServer(const TQTcpServer&); - TQTcpServer& operator=(const TQTcpServer&); + Q_DISABLE_COPY(TQTcpServer) struct ConnectionContext;