diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-02-16 17:28:29 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-02-16 17:58:17 +0100 |
commit | a42fd5d188e58da95169ea21b4cae23cccd26819 (patch) | |
tree | 341512651f2231088e0c148b21f9fc07d59f12ef /autotests/testolmutility.cpp | |
parent | e93260a6b68279518270d0aec2c55f826375fa8a (diff) | |
download | libquotient-a42fd5d188e58da95169ea21b4cae23cccd26819.tar.gz libquotient-a42fd5d188e58da95169ea21b4cae23cccd26819.zip |
TestOlmUtility: fix building with Qt 5.12
QKeyValueIterator::operator->() only arrived in Qt 5.15.
Diffstat (limited to 'autotests/testolmutility.cpp')
-rw-r--r-- | autotests/testolmutility.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/testolmutility.cpp b/autotests/testolmutility.cpp index d0476af0..7a55b61e 100644 --- a/autotests/testolmutility.cpp +++ b/autotests/testolmutility.cpp @@ -52,7 +52,7 @@ void TestOlmUtility::verifySignedOneTimeKey() aliceOlm.generateOneTimeKeys(1); auto keys = aliceOlm.oneTimeKeys(); - auto firstKey = keys.curve25519().keyValueBegin()->second; + auto firstKey = *keys.curve25519().begin(); auto msgObj = QJsonObject({{"key", firstKey}}); auto sig = aliceOlm.sign(msgObj); |