From 00cea653bf7b03c2ae346b356c8a0f4495fb1918 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 9 Nov 2021 19:02:01 +0300 Subject: [PATCH] Improve includes. --- benchmark/bench_handshake.cpp | 1 - td/telegram/DialogEventLog.cpp | 5 +++++ td/telegram/MessagesManager.cpp | 1 - tdactor/td/actor/impl/Scheduler.cpp | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/benchmark/bench_handshake.cpp b/benchmark/bench_handshake.cpp index 13cefad63..509af7dfc 100644 --- a/benchmark/bench_handshake.cpp +++ b/benchmark/bench_handshake.cpp @@ -10,7 +10,6 @@ #include "td/utils/base64.h" #include "td/utils/benchmark.h" #include "td/utils/common.h" -#include "td/utils/logging.h" #include "td/utils/Slice.h" #include diff --git a/td/telegram/DialogEventLog.cpp b/td/telegram/DialogEventLog.cpp index 6b09cd375..14f90bb0f 100644 --- a/td/telegram/DialogEventLog.cpp +++ b/td/telegram/DialogEventLog.cpp @@ -11,6 +11,7 @@ #include "td/telegram/DialogInviteLink.h" #include "td/telegram/DialogLocation.h" #include "td/telegram/DialogParticipant.h" +#include "td/telegram/Global.h" #include "td/telegram/GroupCallManager.h" #include "td/telegram/GroupCallParticipant.h" #include "td/telegram/InputGroupCallId.h" @@ -18,8 +19,12 @@ #include "td/telegram/MessageTtlSetting.h" #include "td/telegram/StickersManager.h" #include "td/telegram/Td.h" +#include "td/telegram/telegram_api.h" +#include "td/utils/buffer.h" +#include "td/utils/logging.h" #include "td/utils/misc.h" +#include "td/utils/Status.h" namespace td { diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 26df2452e..5a8e90965 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -24,7 +24,6 @@ #include "td/telegram/files/FileType.h" #include "td/telegram/Global.h" #include "td/telegram/GroupCallManager.h" -#include "td/telegram/GroupCallParticipant.h" #include "td/telegram/InlineQueriesManager.h" #include "td/telegram/InputMessageText.h" #include "td/telegram/LinkManager.h" diff --git a/tdactor/td/actor/impl/Scheduler.cpp b/tdactor/td/actor/impl/Scheduler.cpp index 2407b8b14..c5fe64b2d 100644 --- a/tdactor/td/actor/impl/Scheduler.cpp +++ b/tdactor/td/actor/impl/Scheduler.cpp @@ -18,6 +18,7 @@ #include "td/utils/List.h" #include "td/utils/logging.h" #include "td/utils/misc.h" +#include "td/utils/MpscPollableQueue.h" #include "td/utils/ObjectPool.h" #include "td/utils/port/thread_local.h" #include "td/utils/ScopeGuard.h" @@ -25,6 +26,7 @@ #include #include +#include #include namespace td {