diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-02-14 14:06:14 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-02-16 17:58:17 +0100 |
commit | 2178ca994c4b33197239155f7f6715e0451b9172 (patch) | |
tree | d5f7e92fee9f94cf6a23507c8d9da08cc1501885 /lib/e2ee/qolmaccount.h | |
parent | 445e34f26450cf8262a65b74e1294579d9cd56be (diff) | |
download | libquotient-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.h | 2 |
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; |