Minor fixes.

GitOrigin-RevId: 9ccb8914fb517b2c3fdba7b40b3bb7ac104e8da7
This commit is contained in:
levlam 2018-04-12 00:18:03 +03:00
parent 386d18e8c4
commit a7548d234c
5 changed files with 3 additions and 5 deletions

View File

@ -18,6 +18,7 @@
#include "td/utils/Time.h" #include "td/utils/Time.h"
namespace td { namespace td {
class SendCodeHelper { class SendCodeHelper {
public: public:
void on_sent_code(telegram_api::object_ptr<telegram_api::auth_sentCode> sent_code); void on_sent_code(telegram_api::object_ptr<telegram_api::auth_sentCode> sent_code);
@ -96,7 +97,7 @@ class SendCodeHelper {
class PhoneNumberManager : public NetActor { class PhoneNumberManager : public NetActor {
public: public:
enum class Type { ChangePhone, VerifyPhone, ConfirmPhone }; enum class Type { ChangePhone, VerifyPhone, ConfirmPhone };
explicit PhoneNumberManager(Type type, ActorShared<> parent); PhoneNumberManager(Type type, ActorShared<> parent);
void get_state(uint64 query_id); void get_state(uint64 query_id);
void set_phone_number(uint64 query_id, string phone_number, bool allow_flash_call, bool is_current_phone_number); void set_phone_number(uint64 query_id, string phone_number, bool allow_flash_call, bool is_current_phone_number);

View File

@ -19,7 +19,6 @@
#include "td/utils/format.h" #include "td/utils/format.h"
#include "td/utils/JsonBuilder.h" #include "td/utils/JsonBuilder.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include "td/utils/tl_helpers.h" #include "td/utils/tl_helpers.h"

View File

@ -13,6 +13,7 @@
#include "td/utils/common.h" #include "td/utils/common.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/Status.h"
#include "td/utils/StringBuilder.h" #include "td/utils/StringBuilder.h"
#include "td/telegram/td_api.h" #include "td/telegram/td_api.h"

View File

@ -23,8 +23,6 @@
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/overloaded.h" #include "td/utils/overloaded.h"
#include <tuple>
namespace td { namespace td {
SecureValueType get_secure_value_type(const tl_object_ptr<telegram_api::SecureValueType> &secure_value_type) { SecureValueType get_secure_value_type(const tl_object_ptr<telegram_api::SecureValueType> &secure_value_type) {

View File

@ -74,7 +74,6 @@
#include "td/utils/format.h" #include "td/utils/format.h"
#include "td/utils/MimeType.h" #include "td/utils/MimeType.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/overloaded.h"
#include "td/utils/PathView.h" #include "td/utils/PathView.h"
#include "td/utils/port/path.h" #include "td/utils/port/path.h"
#include "td/utils/Random.h" #include "td/utils/Random.h"