diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.h b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.h index 6402935140..59f623a8c3 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.h +++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.h @@ -13,6 +13,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/round_rect.h" #include "base/timer.h" +#include + class StickerPremiumMark; namespace style { @@ -438,7 +440,7 @@ private: QVector _emoji[kEmojiSectionCount]; std::vector _custom; base::flat_set _restrictedCustomList; - base::flat_map _customEmoji; + std::map _customEmoji; base::flat_map< DocumentId, std::unique_ptr> _customRecent; diff --git a/Telegram/SourceFiles/data/stickers/data_custom_emoji.h b/Telegram/SourceFiles/data/stickers/data_custom_emoji.h index c35d7520fb..1351bb0c1d 100644 --- a/Telegram/SourceFiles/data/stickers/data_custom_emoji.h +++ b/Telegram/SourceFiles/data/stickers/data_custom_emoji.h @@ -149,7 +149,7 @@ private: const not_null _owner; std::array< - base::flat_map< + std::unordered_map< DocumentId, std::unique_ptr>, kSizeCount> _instances;