Disable move constructor where it is sensible

This commit is contained in:
Chocobo1
2021-06-29 14:45:23 +08:00
parent fd9941e2d8
commit 70d1cb86fd
96 changed files with 102 additions and 102 deletions

View File

@@ -43,7 +43,7 @@ namespace Http
class Connection : public QObject
{
Q_OBJECT
Q_DISABLE_COPY(Connection)
Q_DISABLE_COPY_MOVE(Connection)
public:
Connection(QTcpSocket *socket, IRequestHandler *requestHandler, QObject *parent = nullptr);