diff --git a/benchmark/bench_actor.cpp b/benchmark/bench_actor.cpp index 338442c62..82c88cfdd 100644 --- a/benchmark/bench_actor.cpp +++ b/benchmark/bench_actor.cpp @@ -43,7 +43,6 @@ class td::ActorTraits { }; class CreateActorBench final : public td::Benchmark { - private: td::ConcurrentScheduler scheduler_; void start_up() final { diff --git a/benchmark/bench_http.cpp b/benchmark/bench_http.cpp index 5fc8ba1f3..9e468f025 100644 --- a/benchmark/bench_http.cpp +++ b/benchmark/bench_http.cpp @@ -12,6 +12,7 @@ #include "td/actor/ConcurrentScheduler.h" #include "td/utils/buffer.h" +#include "td/utils/BufferedFd.h" #include "td/utils/logging.h" #include "td/utils/port/IPAddress.h" #include "td/utils/port/SocketFd.h" diff --git a/benchmark/bench_http_server.cpp b/benchmark/bench_http_server.cpp index 4351f03a5..88fef3814 100644 --- a/benchmark/bench_http_server.cpp +++ b/benchmark/bench_http_server.cpp @@ -13,6 +13,7 @@ #include "td/actor/ConcurrentScheduler.h" #include "td/utils/buffer.h" +#include "td/utils/BufferedFd.h" #include "td/utils/logging.h" #include "td/utils/port/SocketFd.h" #include "td/utils/Slice.h" diff --git a/benchmark/bench_queue.cpp b/benchmark/bench_queue.cpp index 2fc85bbf9..6205f37bb 100644 --- a/benchmark/bench_queue.cpp +++ b/benchmark/bench_queue.cpp @@ -17,8 +17,6 @@ // TODO: all return values must be checked #include -#include -#include #if TD_PORT_POSIX #include diff --git a/td/telegram/DocumentsManager.cpp b/td/telegram/DocumentsManager.cpp index c40a210a3..f81a38349 100644 --- a/td/telegram/DocumentsManager.cpp +++ b/td/telegram/DocumentsManager.cpp @@ -17,6 +17,7 @@ #include "td/telegram/misc.h" #include "td/telegram/net/DcId.h" #include "td/telegram/Photo.h" +#include "td/telegram/PhotoSizeSource.h" #include "td/telegram/secret_api.h" #include "td/telegram/StickersManager.h" #include "td/telegram/Td.h" diff --git a/td/telegram/SponsoredMessageManager.cpp b/td/telegram/SponsoredMessageManager.cpp index 519829481..0fce4c90e 100644 --- a/td/telegram/SponsoredMessageManager.cpp +++ b/td/telegram/SponsoredMessageManager.cpp @@ -21,6 +21,7 @@ #include "td/utils/algorithm.h" #include "td/utils/buffer.h" #include "td/utils/logging.h" +#include "td/utils/SliceBuilder.h" #include "td/utils/Status.h" #include diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index 33a139133..c4b959e68 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -26,6 +26,7 @@ #include "td/telegram/net/DcId.h" #include "td/telegram/net/MtprotoHeader.h" #include "td/telegram/net/NetQueryDispatcher.h" +#include "td/telegram/PhotoSizeSource.h" #include "td/telegram/secret_api.h" #include "td/telegram/StickerSetId.hpp" #include "td/telegram/StickersManager.hpp" @@ -43,6 +44,7 @@ #include "td/actor/SleepActor.h" #include "td/utils/algorithm.h" +#include "td/utils/base64.h" #include "td/utils/emoji.h" #include "td/utils/format.h" #include "td/utils/JsonBuilder.h" diff --git a/tdactor/td/actor/impl/Scheduler.h b/tdactor/td/actor/impl/Scheduler.h index 715960e7a..94c9b8f99 100644 --- a/tdactor/td/actor/impl/Scheduler.h +++ b/tdactor/td/actor/impl/Scheduler.h @@ -12,7 +12,6 @@ #include "td/utils/common.h" #include "td/utils/Heap.h" #include "td/utils/logging.h" -#include "td/utils/MpscPollableQueue.h" #include "td/utils/ObjectPool.h" #include "td/utils/port/detail/PollableFd.h" #include "td/utils/port/PollFlags.h" @@ -20,7 +19,6 @@ #include "td/utils/Time.h" #include -#include #include #include diff --git a/tdnet/td/net/HttpInboundConnection.h b/tdnet/td/net/HttpInboundConnection.h index 31e2633bf..4073792d2 100644 --- a/tdnet/td/net/HttpInboundConnection.h +++ b/tdnet/td/net/HttpInboundConnection.h @@ -11,6 +11,7 @@ #include "td/actor/actor.h" +#include "td/utils/BufferedFd.h" #include "td/utils/port/SocketFd.h" #include "td/utils/Status.h" diff --git a/tdnet/td/net/HttpOutboundConnection.h b/tdnet/td/net/HttpOutboundConnection.h index 900489026..f9ed2a2cb 100644 --- a/tdnet/td/net/HttpOutboundConnection.h +++ b/tdnet/td/net/HttpOutboundConnection.h @@ -12,6 +12,7 @@ #include "td/actor/actor.h" +#include "td/utils/BufferedFd.h" #include "td/utils/port/SocketFd.h" #include "td/utils/Status.h" diff --git a/tdnet/td/net/Wget.cpp b/tdnet/td/net/Wget.cpp index 6873aca0e..5912f1f4a 100644 --- a/tdnet/td/net/Wget.cpp +++ b/tdnet/td/net/Wget.cpp @@ -11,6 +11,7 @@ #include "td/net/SslStream.h" #include "td/utils/buffer.h" +#include "td/utils/BufferedFd.h" #include "td/utils/HttpUrl.h" #include "td/utils/logging.h" #include "td/utils/misc.h" diff --git a/tdutils/CMakeLists.txt b/tdutils/CMakeLists.txt index dda68f389..039d5802d 100644 --- a/tdutils/CMakeLists.txt +++ b/tdutils/CMakeLists.txt @@ -262,6 +262,7 @@ set(TDUTILS_SOURCE td/utils/tl_parsers.h td/utils/tl_storers.h td/utils/TlDowncastHelper.h + td/utils/TlStorerToString.h td/utils/translit.h td/utils/TsCerr.h td/utils/TsFileLog.h diff --git a/tdutils/td/utils/TlStorerToString.h b/tdutils/td/utils/TlStorerToString.h index 512378c38..a8578b965 100644 --- a/tdutils/td/utils/TlStorerToString.h +++ b/tdutils/td/utils/TlStorerToString.h @@ -7,6 +7,7 @@ #pragma once #include "td/utils/common.h" +#include "td/utils/SharedSlice.h" #include "td/utils/Slice.h" #include "td/utils/SliceBuilder.h" #include "td/utils/UInt.h" diff --git a/tdutils/td/utils/tl_storers.h b/tdutils/td/utils/tl_storers.h index c8920547b..e5870551c 100644 --- a/tdutils/td/utils/tl_storers.h +++ b/tdutils/td/utils/tl_storers.h @@ -8,7 +8,6 @@ #include "td/utils/common.h" #include "td/utils/logging.h" -#include "td/utils/SharedSlice.h" #include "td/utils/Slice.h" #include "td/utils/StorerBase.h" diff --git a/test/mtproto.cpp b/test/mtproto.cpp index 11fc2e724..a9a0cb09c 100644 --- a/test/mtproto.cpp +++ b/test/mtproto.cpp @@ -32,6 +32,7 @@ #include "td/actor/PromiseFuture.h" #include "td/utils/base64.h" +#include "td/utils/BufferedFd.h" #include "td/utils/common.h" #include "td/utils/crypto.h" #include "td/utils/logging.h"