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:19:26 +0900 |
commit | ecf7b64d3ca30ff607ca399f24800a50594b7ebf (patch) | |
tree | 2a36796499e290ffe707fdeaa125c777f6122bf0 | |
parent | f5af25428212f139c59941bb294a184242c8b5e0 (diff) | |
download | libquotient-ecf7b64d3ca30ff607ca399f24800a50594b7ebf.tar.gz libquotient-ecf7b64d3ca30ff607ca399f24800a50594b7ebf.zip |
ConnectionsGuard: suppress the copying assignment operator
It accidentally leaked through using QPointer::operator=
-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: |