diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-30 22:14:41 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-30 22:14:41 +0900 |
commit | 7c9037bdf4c2f6fee5d800d87e7f9dd9b4070990 (patch) | |
tree | 9280567c6525660376323b71bde72c7f10357884 /lib | |
parent | b5d962b0f5dcd3497db8a4b3bada46bb666d08e1 (diff) | |
download | libquotient-7c9037bdf4c2f6fee5d800d87e7f9dd9b4070990.tar.gz libquotient-7c9037bdf4c2f6fee5d800d87e7f9dd9b4070990.zip |
ConnectionsGuard: suppress the copying assignment operator
It accidentally leaked through using QPointer::operator=
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,6 +78,7 @@ namespace QMatrixClient } ConnectionsGuard(ConnectionsGuard&&) noexcept = default; ConnectionsGuard& operator=(ConnectionsGuard&&) noexcept = default; + ConnectionsGuard& operator=(const ConnectionsGuard&) = delete; using QPointer<T>::operator=; private: |