diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-12 22:31:25 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-13 14:11:41 +0200 |
commit | beb3a135a336dca654d967b88ea06a7457fbbec1 (patch) | |
tree | ff8f12d2a137ef1c36c706832bb7d53e5026aac2 /lib | |
parent | b8a78fe7a2370697eea4517ab000130fe1180715 (diff) | |
download | libquotient-beb3a135a336dca654d967b88ea06a7457fbbec1.tar.gz libquotient-beb3a135a336dca654d967b88ea06a7457fbbec1.zip |
EncryptionEvent: fix "too perfect forwarding"
Now that QMetaType introspects into types, it reveals hidden problems
(which is very nice of it).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/encryptionevent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/events/encryptionevent.h b/lib/events/encryptionevent.h index f9bbab12..65ee4187 100644 --- a/lib/events/encryptionevent.h +++ b/lib/events/encryptionevent.h @@ -40,6 +40,7 @@ public: // default value : StateEvent(typeId(), obj) {} + EncryptionEvent(EncryptionEvent&&) = delete; template <typename... ArgTs> EncryptionEvent(ArgTs&&... contentArgs) : StateEvent(typeId(), matrixTypeId(), QString(), |