From 11ef2ec81a67abe3305d0f487bc314d29549aba4 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 12 Jul 2024 23:46:50 +0300 Subject: [PATCH] Remove unused duplicate private fields. --- td/telegram/files/FileDownloader.h | 1 - td/telegram/files/FileUploader.h | 1 - 2 files changed, 2 deletions(-) diff --git a/td/telegram/files/FileDownloader.h b/td/telegram/files/FileDownloader.h index 5e1cffb6d..ee13c0d8d 100644 --- a/td/telegram/files/FileDownloader.h +++ b/td/telegram/files/FileDownloader.h @@ -44,7 +44,6 @@ class FileDownloader final : public FileLoader { // Must not call any of them... private: enum class QueryType : uint8 { Default = 1, CDN, ReuploadCDN }; - ResourceState resource_state_; FullRemoteFileLocation remote_; LocalFileLocation local_; int64 size_; diff --git a/td/telegram/files/FileUploader.h b/td/telegram/files/FileUploader.h index 6e460d0a5..de711d2d6 100644 --- a/td/telegram/files/FileUploader.h +++ b/td/telegram/files/FileUploader.h @@ -40,7 +40,6 @@ class FileUploader final : public FileLoader { // Should just implement all parent pure virtual methods. // Must not call any of them... private: - ResourceState resource_state_; LocalFileLocation local_; RemoteFileLocation remote_; int64 expected_size_;