From dc3d7911932057effad55c79ef5e1a12ef270e05 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 13 Aug 2018 11:41:20 +0900 Subject: ConnectionsGuard: Fix clazy warning --- lib/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util.h') 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::operator=; private: -- cgit v1.2.3