aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolmaccount.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-14 14:06:14 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-16 17:58:17 +0100
commit2178ca994c4b33197239155f7f6715e0451b9172 (patch)
treed5f7e92fee9f94cf6a23507c8d9da08cc1501885 /lib/e2ee/qolmaccount.h
parent445e34f26450cf8262a65b74e1294579d9cd56be (diff)
downloadlibquotient-2178ca994c4b33197239155f7f6715e0451b9172.tar.gz
libquotient-2178ca994c4b33197239155f7f6715e0451b9172.zip
Use QHash instead of QMap
We don't seem to need sorted associative containers in those cases.
Diffstat (limited to 'lib/e2ee/qolmaccount.h')
-rw-r--r--lib/e2ee/qolmaccount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2ee/qolmaccount.h b/lib/e2ee/qolmaccount.h
index 17aca8aa..17f43f1a 100644
--- a/lib/e2ee/qolmaccount.h
+++ b/lib/e2ee/qolmaccount.h
@@ -67,7 +67,7 @@ public:
OneTimeKeys oneTimeKeys() const;
//! Sign all one time keys.
- QMap<QString, SignedOneTimeKey> signOneTimeKeys(const OneTimeKeys &keys) const;
+ QHash<QString, SignedOneTimeKey> signOneTimeKeys(const OneTimeKeys &keys) const;
//! Sign one time key.
QByteArray signOneTimeKey(const QString &key) const;