diff --git a/SplitSource.php b/SplitSource.php index 1932b31c0..1f81ec5a6 100644 --- a/SplitSource.php +++ b/SplitSource.php @@ -291,7 +291,7 @@ function split_file($file, $chunks, $undo) { 'group_call_manager[_(-][^.]|GroupCallManager' => 'GroupCallManager', 'HashtagHints' => 'HashtagHints', 'inline_queries_manager[_(-][^.]|InlineQueriesManager' => 'InlineQueriesManager', - 'language_pack_manager[_(-][^.]|LanguagePackManager' => 'LanguagePackManager', + 'language_pack_manager[_(-]|LanguagePackManager' => 'LanguagePackManager', 'link_manager[_(-][^.]|LinkManager' => 'LinkManager', 'LogeventIdWithGeneration|add_log_event|delete_log_event|get_erase_log_event_promise|parse_time|store_time' => 'logevent/LogEventHelper', 'MessageCopyOptions' => 'MessageCopyOptions', @@ -303,7 +303,7 @@ function split_file($file, $chunks, $undo) { 'poll_manager[_(-][^.]|PollManager' => "PollManager", 'PublicDialogType|get_public_dialog_type' => 'PublicDialogType', 'SecretChatActor' => 'SecretChatActor', - 'secret_chats_manager[_(-][^.]|SecretChatsManager' => 'SecretChatsManager', + 'secret_chats_manager[_(-]|SecretChatsManager' => 'SecretChatsManager', 'sponsored_message_manager[_(-][^.]|SponsoredMessageManager' => 'SponsoredMessageManager', 'stickers_manager[_(-][^.]|StickersManager' => 'StickersManager', '[>](td_db[(][)]|get_td_db_impl[(])|TdDb[^A-Za-z]' => 'TdDb', diff --git a/td/telegram/CallManager.cpp b/td/telegram/CallManager.cpp index fdb9fe7ce..e9a2b2d4a 100644 --- a/td/telegram/CallManager.cpp +++ b/td/telegram/CallManager.cpp @@ -9,7 +9,6 @@ #include "td/telegram/telegram_api.hpp" #include "td/utils/common.h" -#include "td/utils/format.h" #include "td/utils/logging.h" #include "td/utils/misc.h" #include "td/utils/SliceBuilder.h" diff --git a/td/telegram/Support.cpp b/td/telegram/Support.cpp index 190848b0b..0d7bc580c 100644 --- a/td/telegram/Support.cpp +++ b/td/telegram/Support.cpp @@ -102,9 +102,9 @@ void get_user_info(Td *td, UserId user_id, Promise &&message, Promise> &&promise) { - TRY_RESULT_PROMISE( - promise, formatted_text, - get_formatted_text(td, DialogId(td->contacts_manager_->get_my_id()), std::move(message), false, true, true, false)); + TRY_RESULT_PROMISE(promise, formatted_text, + get_formatted_text(td, DialogId(td->contacts_manager_->get_my_id()), std::move(message), false, + true, true, false)); td->create_handler(std::move(promise))->send(user_id, std::move(formatted_text)); } diff --git a/td/telegram/Td.h b/td/telegram/Td.h index 1d9f19d8a..777d6a323 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -196,8 +196,8 @@ class Td final : public Actor { ActorOwn net_stats_manager_; ActorOwn password_manager_; ActorOwn privacy_manager_; - ActorOwn secure_manager_; ActorOwn secret_chats_manager_; + ActorOwn secure_manager_; ActorOwn state_manager_; ActorOwn storage_manager_; ActorOwn verify_phone_number_manager_; diff --git a/tdutils/td/utils/Hints.cpp b/tdutils/td/utils/Hints.cpp index f692cb747..1041b95d8 100644 --- a/tdutils/td/utils/Hints.cpp +++ b/tdutils/td/utils/Hints.cpp @@ -11,7 +11,6 @@ #include "td/utils/misc.h" #include "td/utils/Slice.h" #include "td/utils/translit.h" -#include "td/utils/unicode.h" #include "td/utils/utf8.h" #include diff --git a/tdutils/td/utils/SetNode.h b/tdutils/td/utils/SetNode.h index 6d7b6e5ff..6e5960553 100644 --- a/tdutils/td/utils/SetNode.h +++ b/tdutils/td/utils/SetNode.h @@ -30,7 +30,7 @@ struct SetNode { return first; } - SetNode(): first() { + SetNode() : first() { } explicit SetNode(KeyT key) : first(std::move(key)) { } @@ -100,7 +100,7 @@ struct SetNode 28 * sizeof(void return impl_->first; } - SetNode(): impl_() { + SetNode() : impl_() { } explicit SetNode(KeyT key) : impl_(td::make_unique(std::move(key))) { }