Disable move constructor where it is sensible

This commit is contained in:
Chocobo1 2021-06-29 14:45:23 +08:00
commit 70d1cb86fd
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
96 changed files with 102 additions and 102 deletions

View file

@ -43,7 +43,7 @@ namespace Http
class Server final : public QTcpServer
{
Q_OBJECT
Q_DISABLE_COPY(Server)
Q_DISABLE_COPY_MOVE(Server)
public:
explicit Server(IRequestHandler *requestHandler, QObject *parent = nullptr);