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-04-30 22:45:56 +0900 |
commit | 6a73f99fc71df74b1c60e6e202cd4d6787d0cb07 (patch) | |
tree | c88c293b00d4ae207f1ec51b2ee451e88a736a8c /lib/util.h | |
parent | fe4afda065fc9a1db64fd8032bad4e10bff3d020 (diff) | |
download | libquotient-6a73f99fc71df74b1c60e6e202cd4d6787d0cb07.tar.gz libquotient-6a73f99fc71df74b1c60e6e202cd4d6787d0cb07.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=; |