aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
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-05-01 07:42:24 +0900
commit8d7ff5d3741ff525d337871185ee9f7f2e885af5 (patch)
tree342beb4689b34910c777ee5c76abd09b9f7d502a /lib/util.h
parentf79544e0fad0b531d49dba9be001995805f18974 (diff)
downloadlibquotient-8d7ff5d3741ff525d337871185ee9f7f2e885af5.tar.gz
libquotient-8d7ff5d3741ff525d337871185ee9f7f2e885af5.zip
ConnectionsGuard: one more fix about defaults
Diffstat (limited to 'lib/util.h')
-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=;