From 490c4e86a2b5bb3c11e339b2599d46c04844e54e Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 18 May 2018 15:57:40 +0300 Subject: [PATCH] Minor fixes. GitOrigin-RevId: f972e24191cc31262bf655774bc6193277b8842b --- td/mtproto/TcpTransport.h | 2 +- td/telegram/net/ConnectionCreator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"