aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppTrustMemoryStorage.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2021-09-30 15:52:59 +0200
committerLinus Jahn <lnj@kaidan.im>2021-09-30 16:11:17 +0200
commit77a9a5c76685795376e8acd4d684c30a77192795 (patch)
treecf633ee781a5481b78d95181a459d5bd564ff6c2 /src/client/QXmppTrustMemoryStorage.h
parent756be3004d8462b54c743b529f6d808168da1566 (diff)
downloadqxmpp-77a9a5c76685795376e8acd4d684c30a77192795.tar.gz
TrustStorage: Remove unnecessary const constraint
Some implementations may require non-const access.
Diffstat (limited to 'src/client/QXmppTrustMemoryStorage.h')
-rw-r--r--src/client/QXmppTrustMemoryStorage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/QXmppTrustMemoryStorage.h b/src/client/QXmppTrustMemoryStorage.h
index eecbaa33..82067b96 100644
--- a/src/client/QXmppTrustMemoryStorage.h
+++ b/src/client/QXmppTrustMemoryStorage.h
@@ -43,15 +43,15 @@ public:
QFuture<void> addOwnKey(const QString &encryption, const QString &keyId) override;
QFuture<void> removeOwnKey(const QString &encryption) override;
- QFuture<QString> ownKey(const QString &encryption) const override;
+ QFuture<QString> ownKey(const QString &encryption) override;
QFuture<void> addKeys(const QString &encryption, const QString &keyOwnerJid, const QList<QString> &keyIds, TrustLevel trustLevel = TrustLevel::AutomaticallyDistrusted) override;
QFuture<void> removeKeys(const QString &encryption = {}, const QList<QString> &keyIds = {}) override;
- QFuture<QHash<TrustLevel, QMultiHash<QString, QString>>> keys(const QString &encryption, TrustLevels trustLevels = {}) const override;
+ QFuture<QHash<TrustLevel, QMultiHash<QString, QString>>> keys(const QString &encryption, TrustLevels trustLevels = {}) override;
QFuture<void> setTrustLevel(const QString &encryption, const QMultiHash<QString, QString> &keyIds, const TrustLevel trustLevel) override;
QFuture<void> setTrustLevel(const QString &encryption, const QList<QString> &keyOwnerJids, const TrustLevel oldTrustLevel, const TrustLevel newTrustLevel) override;
- QFuture<TrustLevel> trustLevel(const QString &encryption, const QString &keyId) const override;
+ QFuture<TrustLevel> trustLevel(const QString &encryption, const QString &keyId) override;
QFuture<void> addKeysForPostponedTrustDecisions(const QString &encryption, const QString &senderKeyId, const QList<QXmppTrustMessageKeyOwner> &keyOwners) override;
QFuture<void> removeKeysForPostponedTrustDecisions(const QString &encryption, const QList<QString> &keyIdsForAuthentication, const QList<QString> &keyIdsForDistrusting) override;