aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-04-30 22:45:56 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-04-30 22:45:56 +0900
commit6a73f99fc71df74b1c60e6e202cd4d6787d0cb07 (patch)
treec88c293b00d4ae207f1ec51b2ee451e88a736a8c /lib
parentfe4afda065fc9a1db64fd8032bad4e10bff3d020 (diff)
downloadlibquotient-6a73f99fc71df74b1c60e6e202cd4d6787d0cb07.tar.gz
libquotient-6a73f99fc71df74b1c60e6e202cd4d6787d0cb07.zip
ConnectionsGuard: one more fix about defaults
Diffstat (limited to 'lib')
-rw-r--r--lib/util.h4
1 files changed, 2 insertions, 2 deletions
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<T>::operator=;