From 6a73f99fc71df74b1c60e6e202cd4d6787d0cb07 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 30 Apr 2018 22:45:56 +0900 Subject: ConnectionsGuard: one more fix about defaults --- lib/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/util.h') diff --git a/lib/util.h b/lib/util.h index 2a323cf3..55f3af6a 100644 --- a/lib/util.h +++ b/lib/util.h @@ -76,8 +76,8 @@ namespace QMatrixClient if (*this) (*this)->disconnect(subscriber); } - ConnectionsGuard(ConnectionsGuard&&) noexcept = default; - ConnectionsGuard& operator=(ConnectionsGuard&&) noexcept = default; + ConnectionsGuard(ConnectionsGuard&&) = default; + ConnectionsGuard& operator=(ConnectionsGuard&&) = default; ConnectionsGuard& operator=(const ConnectionsGuard&) = delete; using QPointer::operator=; -- cgit v1.2.3