summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h
index 1e1da049..13621b23 100644
--- a/src/ChatPage.h
+++ b/src/ChatPage.h
@@ -6,7 +6,6 @@
 
 #include <atomic>
 #include <optional>
-#include <variant>
 
 #include <mtx/common.hpp>
 #include <mtx/events.hpp>
@@ -191,7 +190,7 @@ private:
     void tryInitialSync();
     void trySync();
     void verifyOneTimeKeyCountAfterStartup();
-    void ensureOneTimeKeyCount(const std::map<std::string, uint16_t> &counts,
+    void ensureOneTimeKeyCount(const std::map<std::string_view, uint16_t> &counts,
                                const std::optional<std::vector<std::string>> &fallback_keys);
     void removeOldFallbackKey();
     void getProfileInfo();