diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-30 22:45:56 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 07:42:24 +0900 |
commit | 8d7ff5d3741ff525d337871185ee9f7f2e885af5 (patch) | |
tree | 342beb4689b34910c777ee5c76abd09b9f7d502a /lib/util.h | |
parent | f79544e0fad0b531d49dba9be001995805f18974 (diff) | |
download | libquotient-8d7ff5d3741ff525d337871185ee9f7f2e885af5.tar.gz libquotient-8d7ff5d3741ff525d337871185ee9f7f2e885af5.zip |
ConnectionsGuard: one more fix about defaults
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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=; |