Minor fixes.

GitOrigin-RevId: f972e24191cc31262bf655774bc6193277b8842b
This commit is contained in:
levlam 2018-05-18 15:57:40 +03:00
parent 45a20f6929
commit 490c4e86a2
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ class OldTransport : public IStreamTransport {
class ObfuscatedTransport : public IStreamTransport { class ObfuscatedTransport : public IStreamTransport {
public: 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<size_t> read_next(BufferSlice *message, uint32 *quick_ack) override TD_WARN_UNUSED_RESULT { Result<size_t> read_next(BufferSlice *message, uint32 *quick_ack) override TD_WARN_UNUSED_RESULT {
aes_ctr_byte_flow_.wakeup(); aes_ctr_byte_flow_.wakeup();

View File

@ -7,6 +7,7 @@
#pragma once #pragma once
#include "td/telegram/td_api.h" #include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.h"
#include "td/telegram/net/DcOptions.h" #include "td/telegram/net/DcOptions.h"
#include "td/telegram/net/DcOptionsSet.h" #include "td/telegram/net/DcOptionsSet.h"
@ -22,7 +23,6 @@
#include "td/net/NetStats.h" #include "td/net/NetStats.h"
#include "td/utils/FloodControlStrict.h" #include "td/utils/FloodControlStrict.h"
#include "td/utils/logging.h"
#include "td/utils/port/IPAddress.h" #include "td/utils/port/IPAddress.h"
#include "td/utils/port/SocketFd.h" #include "td/utils/port/SocketFd.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"