aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.h b/lib/util.h
index 7769abce..ce166e35 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -229,7 +229,7 @@ namespace QMatrixClient
}
ConnectionsGuard(ConnectionsGuard&&) = default;
ConnectionsGuard& operator=(ConnectionsGuard&&) = default;
- ConnectionsGuard& operator=(const ConnectionsGuard&) = delete;
+ Q_DISABLE_COPY(ConnectionsGuard)
using QPointer<T>::operator=;
private: