From 63be0bc9fd942862aa8e585b22ea00a906ff8d19 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 5 Oct 2024 17:55:36 +0300 Subject: [PATCH] Fix compilation errors. --- td/telegram/DownloadManagerCallback.cpp | 1 + td/telegram/Logging.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/td/telegram/DownloadManagerCallback.cpp b/td/telegram/DownloadManagerCallback.cpp index 39d7cd623099..35e50490d8eb 100644 --- a/td/telegram/DownloadManagerCallback.cpp +++ b/td/telegram/DownloadManagerCallback.cpp @@ -6,6 +6,7 @@ // #include "td/telegram/DownloadManagerCallback.h" +#include "td/telegram/AuthManager.h" #include "td/telegram/FileReferenceManager.h" #include "td/telegram/files/FileManager.h" #include "td/telegram/Td.h" diff --git a/td/telegram/Logging.cpp b/td/telegram/Logging.cpp index 65eb84174f37..8cb7e70f6f81 100644 --- a/td/telegram/Logging.cpp +++ b/td/telegram/Logging.cpp @@ -128,7 +128,7 @@ vector Logging::get_tags() { Status Logging::set_tag_verbosity_level(Slice tag, int new_verbosity_level) { if (tag.empty()) { - return Status::Error("Log tag must be non-empty") + return Status::Error("Log tag must be non-empty"); } auto it = log_tags.find(tag); @@ -143,7 +143,7 @@ Status Logging::set_tag_verbosity_level(Slice tag, int new_verbosity_level) { Result Logging::get_tag_verbosity_level(Slice tag) { if (tag.empty()) { - return Status::Error("Log tag must be non-empty") + return Status::Error("Log tag must be non-empty"); } auto it = log_tags.find(tag);