aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-13 11:41:20 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-13 11:41:20 +0900
commitdc3d7911932057effad55c79ef5e1a12ef270e05 (patch)
treecefff438d6cf56f9f52c355c81711290e81b32d6 /lib/util.h
parent825b46f42c3d7c813ccab49023e6f7ed6a5e1477 (diff)
downloadlibquotient-dc3d7911932057effad55c79ef5e1a12ef270e05.tar.gz
libquotient-dc3d7911932057effad55c79ef5e1a12ef270e05.zip
ConnectionsGuard: Fix clazy warning
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: