aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptionevent.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-12 22:31:25 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-13 14:11:41 +0200
commitbeb3a135a336dca654d967b88ea06a7457fbbec1 (patch)
treeff8f12d2a137ef1c36c706832bb7d53e5026aac2 /lib/events/encryptionevent.h
parentb8a78fe7a2370697eea4517ab000130fe1180715 (diff)
downloadlibquotient-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/events/encryptionevent.h')
-rw-r--r--lib/events/encryptionevent.h1
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(),