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

@@ -34,7 +34,7 @@ namespace Net
{
class PortForwarder : public QObject
{
Q_DISABLE_COPY(PortForwarder)
Q_DISABLE_COPY_MOVE(PortForwarder)
public:
explicit PortForwarder(QObject *parent = nullptr);