diff --git a/td/mtproto/TcpTransport.h b/td/mtproto/TcpTransport.h index 2641422a..6737f56a 100644 --- a/td/mtproto/TcpTransport.h +++ b/td/mtproto/TcpTransport.h @@ -106,7 +106,7 @@ class OldTransport : public IStreamTransport { class ObfuscatedTransport : public IStreamTransport { public: - explicit ObfuscatedTransport(int16 dc_id, std::string secret) : dc_id_(dc_id), secret_(std::move(secret)) { + ObfuscatedTransport(int16 dc_id, std::string secret) : dc_id_(dc_id), secret_(std::move(secret)) { } Result read_next(BufferSlice *message, uint32 *quick_ack) override TD_WARN_UNUSED_RESULT { aes_ctr_byte_flow_.wakeup(); diff --git a/td/telegram/net/ConnectionCreator.h b/td/telegram/net/ConnectionCreator.h index fea7d0ac..50349bf1 100644 --- a/td/telegram/net/ConnectionCreator.h +++ b/td/telegram/net/ConnectionCreator.h @@ -7,6 +7,7 @@ #pragma once #include "td/telegram/td_api.h" +#include "td/telegram/telegram_api.h" #include "td/telegram/net/DcOptions.h" #include "td/telegram/net/DcOptionsSet.h" @@ -22,7 +23,6 @@ #include "td/net/NetStats.h" #include "td/utils/FloodControlStrict.h" -#include "td/utils/logging.h" #include "td/utils/port/IPAddress.h" #include "td/utils/port/SocketFd.h" #include "td/utils/Slice.h"