aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/qolmoutboundsession.h
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-05-06 01:08:53 +0200
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commit0a75a095665101d4ffcbec10b43633eee5a0d6d3 (patch)
treebf88e94bf0b454fa8d409acd49c1cdc3f4658d43 /lib/crypto/qolmoutboundsession.h
parentc2836e007e2d46c0c20270b99ede5b78d2c7170b (diff)
downloadlibquotient-0a75a095665101d4ffcbec10b43633eee5a0d6d3.tar.gz
libquotient-0a75a095665101d4ffcbec10b43633eee5a0d6d3.zip
Fix everything
Diffstat (limited to 'lib/crypto/qolmoutboundsession.h')
-rw-r--r--lib/crypto/qolmoutboundsession.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/qolmoutboundsession.h b/lib/crypto/qolmoutboundsession.h
index 201a178a..4e06561e 100644
--- a/lib/crypto/qolmoutboundsession.h
+++ b/lib/crypto/qolmoutboundsession.h
@@ -26,7 +26,7 @@ public:
std::variant<QByteArray, QOlmError> pickle(const PicklingMode &mode);
//! Deserialises from encrypted Base64 that was previously obtained by
//! pickling a `QOlmOutboundGroupSession`.
- static std::variant<std::unique_ptr<QOlmOutboundGroupSession>, QOlmError> unpickle(const QByteArray &pickled, const PicklingMode &mode);
+ static std::variant<std::unique_ptr<QOlmOutboundGroupSession>, QOlmError> unpickle(QByteArray &pickled, const PicklingMode &mode);
//! Encrypts a plaintext message using the session.
std::variant<QByteArray, QOlmError> encrypt(const QString &plaintext);