diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-05-14 11:20:43 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-05-14 11:23:48 +0200 |
commit | 572b727b22d66a79431326c924236ef431fd972b (patch) | |
tree | 5c60030964cf8ca9d279cd66fcdc22bd1ac92b48 /lib/connection.h | |
parent | b32c1c27ae412d073a7e98bdaf22678bdc66ab23 (diff) | |
download | libquotient-572b727b22d66a79431326c924236ef431fd972b.tar.gz libquotient-572b727b22d66a79431326c924236ef431fd972b.zip |
Cleanup across the board
Mainly driven by clang-tidy and SonarCloud warnings (sadly, SonarCloud
doesn't store historical reports so no link can be provided here).
Diffstat (limited to 'lib/connection.h')
-rw-r--r-- | lib/connection.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h index 29731593..b75bd5b5 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -317,8 +317,10 @@ public: #ifdef Quotient_E2EE_ENABLED QOlmAccount* olmAccount() const; Database* database(); - UnorderedMap<QString, QOlmInboundGroupSessionPtr> loadRoomMegolmSessions(Room* room); - void saveMegolmSession(Room* room, QOlmInboundGroupSession* session); + UnorderedMap<QString, QOlmInboundGroupSessionPtr> loadRoomMegolmSessions( + const Room* room); + void saveMegolmSession(const Room* room, + const QOlmInboundGroupSession& session); #endif // Quotient_E2EE_ENABLED Q_INVOKABLE Quotient::SyncJob* syncJob() const; Q_INVOKABLE int millisToReconnect() const; |