From ecf7b64d3ca30ff607ca399f24800a50594b7ebf Mon Sep 17 00:00:00 2001
From: Kitsune Ral <Kitsune-Ral@users.sf.net>
Date: Mon, 30 Apr 2018 22:14:41 +0900
Subject: ConnectionsGuard: suppress the copying assignment operator

It accidentally leaked through using QPointer::operator=
---
 lib/util.h | 1 +
 1 file changed, 1 insertion(+)

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:
-- 
cgit v1.2.3