Minor improvements.

This commit is contained in:
levlam 2021-01-27 02:57:59 +03:00
parent cd3abdbeb2
commit 9e37c85af3
7 changed files with 4 additions and 6 deletions

View File

@ -37,7 +37,6 @@
#include "td/utils/common.h" #include "td/utils/common.h"
#include "td/utils/Hints.h" #include "td/utils/Hints.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include "td/utils/StringBuilder.h" #include "td/utils/StringBuilder.h"

View File

@ -9,6 +9,7 @@
#include "td/telegram/ContactsManager.h" #include "td/telegram/ContactsManager.h"
#include "td/telegram/Global.h" #include "td/telegram/Global.h"
#include "td/utils/logging.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
namespace td { namespace td {

View File

@ -39,7 +39,7 @@ class DialogInviteLink {
public: public:
DialogInviteLink() = default; DialogInviteLink() = default;
DialogInviteLink(tl_object_ptr<telegram_api::chatInviteExported> exported_invite); explicit DialogInviteLink(tl_object_ptr<telegram_api::chatInviteExported> exported_invite);
static bool is_valid_invite_link(Slice invite_link); static bool is_valid_invite_link(Slice invite_link);

View File

@ -69,12 +69,10 @@
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/Time.h" #include "td/utils/Time.h"
#include "td/utils/tl_helpers.h" #include "td/utils/tl_helpers.h"
#include "td/utils/tl_storers.h"
#include "td/utils/utf8.h" #include "td/utils/utf8.h"
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include <iterator>
#include <limits> #include <limits>
#include <tuple> #include <tuple>
#include <type_traits> #include <type_traits>

View File

@ -50,7 +50,6 @@
#include "td/utils/algorithm.h" #include "td/utils/algorithm.h"
#include "td/utils/buffer.h" #include "td/utils/buffer.h"
#include "td/utils/format.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/Random.h" #include "td/utils/Random.h"
@ -58,6 +57,7 @@
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include "td/utils/StringBuilder.h" #include "td/utils/StringBuilder.h"
#include <iterator>
#include <limits> #include <limits>
namespace td { namespace td {

View File

@ -21,6 +21,7 @@
#include "td/utils/common.h" #include "td/utils/common.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/Status.h"
#include "td/utils/tl_storers.h" #include "td/utils/tl_storers.h"
#include <map> #include <map>

View File

@ -7,7 +7,6 @@
#include "td/utils/translit.h" #include "td/utils/translit.h"
#include "td/utils/algorithm.h" #include "td/utils/algorithm.h"
#include "td/utils/format.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/utf8.h" #include "td/utils/utf8.h"