From 655c22f0027e46daf17eed0ead99f0dd8b641452 Mon Sep 17 00:00:00 2001 From: leha-bot Date: Sun, 13 Jun 2021 01:05:40 +0300 Subject: [PATCH 1/2] codegen_emoji: fix missing #include in codegen --- Telegram/SourceFiles/codegen/emoji/generator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/codegen/emoji/generator.cpp b/Telegram/SourceFiles/codegen/emoji/generator.cpp index a301b97cb..5a112c7cb 100644 --- a/Telegram/SourceFiles/codegen/emoji/generator.cpp +++ b/Telegram/SourceFiles/codegen/emoji/generator.cpp @@ -704,6 +704,7 @@ bool Generator::writeSuggestionsSource() { suggestionsSource_ = std::make_unique(suggestionsPath_ + ".cpp", project_); suggestionsSource_->stream() << "\ #include \n\ +#include \n\ \n"; suggestionsSource_->pushNamespace("Ui").pushNamespace("Emoji").pushNamespace("internal").pushNamespace(); suggestionsSource_->stream() << "\ From 4b31f5f8ef1770d8421a34394ab729c36023c074 Mon Sep 17 00:00:00 2001 From: leha-bot Date: Sun, 13 Jun 2021 01:05:55 +0300 Subject: [PATCH 2/2] ui/effects/cross_animation: fix missing #include --- Telegram/SourceFiles/ui/effects/cross_animation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/ui/effects/cross_animation.cpp b/Telegram/SourceFiles/ui/effects/cross_animation.cpp index 3071c0226..f73b86c45 100644 --- a/Telegram/SourceFiles/ui/effects/cross_animation.cpp +++ b/Telegram/SourceFiles/ui/effects/cross_animation.cpp @@ -23,6 +23,8 @@ #include "ui/effects/cross_animation.h" #include "ui/twidget.h" +#include + #include namespace Ui {