diff options
| author | Arseny Smirnov <arseny30@gmail.com> | 2022-02-07 20:41:07 +0100 |
|---|---|---|
| committer | Arseny Smirnov <arseny30@gmail.com> | 2022-02-07 21:21:31 +0100 |
| commit | 86bceb29722950f5ac80a69c33080d5e433dcb54 (patch) | |
| tree | 5eec888df2a0bcce95b0726560c704a1eb9fdb0f /td/telegram/VideoNotesManager.h | |
| parent | 088ce028321419480303b3825dfe400c3e512578 (diff) | |
td: replace most of std::unordered_map usages to td::FlatHashMap
Diffstat (limited to 'td/telegram/VideoNotesManager.h')
| -rw-r--r-- | td/telegram/VideoNotesManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/td/telegram/VideoNotesManager.h b/td/telegram/VideoNotesManager.h index 3d1050f0a..e35d903b9 100644 --- a/td/telegram/VideoNotesManager.h +++ b/td/telegram/VideoNotesManager.h @@ -15,7 +15,7 @@ #include "td/utils/buffer.h" #include "td/utils/common.h" -#include <unordered_map> +#include "td/utils/FlatHashMap.h" namespace td { @@ -70,7 +70,7 @@ class VideoNotesManager { FileId on_get_video_note(unique_ptr<VideoNote> new_video_note, bool replace); Td *td_; - std::unordered_map<FileId, unique_ptr<VideoNote>, FileIdHash> video_notes_; + FlatHashMap<FileId, unique_ptr<VideoNote>, FileIdHash> video_notes_; }; } // namespace td |
