diff --git a/td/telegram/ContactsManager.h b/td/telegram/ContactsManager.h index 6092eaac4..6f8b376fa 100644 --- a/td/telegram/ContactsManager.h +++ b/td/telegram/ContactsManager.h @@ -37,7 +37,6 @@ #include "td/utils/common.h" #include "td/utils/Hints.h" -#include "td/utils/Slice.h" #include "td/utils/Status.h" #include "td/utils/StringBuilder.h" diff --git a/td/telegram/DialogInviteLink.cpp b/td/telegram/DialogInviteLink.cpp index 3eeddaf94..085c09c82 100644 --- a/td/telegram/DialogInviteLink.cpp +++ b/td/telegram/DialogInviteLink.cpp @@ -9,6 +9,7 @@ #include "td/telegram/ContactsManager.h" #include "td/telegram/Global.h" +#include "td/utils/logging.h" #include "td/utils/misc.h" namespace td { diff --git a/td/telegram/DialogInviteLink.h b/td/telegram/DialogInviteLink.h index 8eb8f1c6f..2ced9c838 100644 --- a/td/telegram/DialogInviteLink.h +++ b/td/telegram/DialogInviteLink.h @@ -39,7 +39,7 @@ class DialogInviteLink { public: DialogInviteLink() = default; - DialogInviteLink(tl_object_ptr exported_invite); + explicit DialogInviteLink(tl_object_ptr exported_invite); static bool is_valid_invite_link(Slice invite_link); diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 810dc2150..80f266be8 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -69,12 +69,10 @@ #include "td/utils/Slice.h" #include "td/utils/Time.h" #include "td/utils/tl_helpers.h" -#include "td/utils/tl_storers.h" #include "td/utils/utf8.h" #include #include -#include #include #include #include diff --git a/td/telegram/UpdatesManager.cpp b/td/telegram/UpdatesManager.cpp index f9ed0e73d..e812b2bb3 100644 --- a/td/telegram/UpdatesManager.cpp +++ b/td/telegram/UpdatesManager.cpp @@ -50,7 +50,6 @@ #include "td/utils/algorithm.h" #include "td/utils/buffer.h" -#include "td/utils/format.h" #include "td/utils/logging.h" #include "td/utils/misc.h" #include "td/utils/Random.h" @@ -58,6 +57,7 @@ #include "td/utils/Status.h" #include "td/utils/StringBuilder.h" +#include #include namespace td { diff --git a/td/telegram/UpdatesManager.h b/td/telegram/UpdatesManager.h index 810f37472..07b296dc0 100644 --- a/td/telegram/UpdatesManager.h +++ b/td/telegram/UpdatesManager.h @@ -21,6 +21,7 @@ #include "td/utils/common.h" #include "td/utils/logging.h" +#include "td/utils/Status.h" #include "td/utils/tl_storers.h" #include diff --git a/tdutils/td/utils/translit.cpp b/tdutils/td/utils/translit.cpp index 239fa7f5c..60ee4e78a 100644 --- a/tdutils/td/utils/translit.cpp +++ b/tdutils/td/utils/translit.cpp @@ -7,7 +7,6 @@ #include "td/utils/translit.h" #include "td/utils/algorithm.h" -#include "td/utils/format.h" #include "td/utils/misc.h" #include "td/utils/utf8.h"