From b42009a43353530f9213190de5e191e33e87213a Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 25 Jul 2024 14:51:50 +0300 Subject: [PATCH] Improve includes. --- td/telegram/files/FileDownloadManager.cpp | 4 ---- td/telegram/files/FileLoaderActor.h | 1 - td/telegram/files/FileUploader.h | 2 ++ 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/td/telegram/files/FileDownloadManager.cpp b/td/telegram/files/FileDownloadManager.cpp index 22ce2025a..e9367aaa4 100644 --- a/td/telegram/files/FileDownloadManager.cpp +++ b/td/telegram/files/FileDownloadManager.cpp @@ -6,15 +6,11 @@ // #include "td/telegram/files/FileDownloadManager.h" -#include "td/telegram/files/FileLoaderUtils.h" #include "td/telegram/Global.h" #include "td/telegram/net/NetQueryDispatcher.h" -#include "td/telegram/UniqueId.h" #include "td/utils/common.h" #include "td/utils/format.h" -#include "td/utils/logging.h" -#include "td/utils/ScopeGuard.h" #include "td/utils/SliceBuilder.h" namespace td { diff --git a/td/telegram/files/FileLoaderActor.h b/td/telegram/files/FileLoaderActor.h index 44d357dda..00ad01cc4 100644 --- a/td/telegram/files/FileLoaderActor.h +++ b/td/telegram/files/FileLoaderActor.h @@ -6,7 +6,6 @@ // #pragma once -#include "td/telegram/files/FileLocation.h" #include "td/telegram/files/ResourceState.h" #include "td/telegram/net/NetQuery.h" diff --git a/td/telegram/files/FileUploader.h b/td/telegram/files/FileUploader.h index a951e7042..6086c3475 100644 --- a/td/telegram/files/FileUploader.h +++ b/td/telegram/files/FileUploader.h @@ -15,6 +15,8 @@ #include "td/telegram/files/ResourceState.h" #include "td/telegram/net/NetQuery.h" +#include "td/actor/actor.h" + #include "td/utils/common.h" #include "td/utils/port/FileFd.h" #include "td/utils/Status.h"