aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h
index 7ab1e20d..2a323cf3 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -78,6 +78,7 @@ namespace QMatrixClient
}
ConnectionsGuard(ConnectionsGuard&&) noexcept = default;
ConnectionsGuard& operator=(ConnectionsGuard&&) noexcept = default;
+ ConnectionsGuard& operator=(const ConnectionsGuard&) = delete;
using QPointer<T>::operator=;
private: