diff --git a/td/telegram/Client.cpp b/td/telegram/Client.cpp index 3d0bc9db..734ed879 100644 --- a/td/telegram/Client.cpp +++ b/td/telegram/Client.cpp @@ -77,7 +77,6 @@ class Client::Impl final { private: std::deque responses_; std::vector requests_; - int output_queue_ready_cnt_{0}; std::unique_ptr scheduler_; ActorOwn td_; bool closed_ = false; @@ -87,7 +86,7 @@ class Client::Impl final { scheduler_->init(0); class Callback : public TdCallback { public: - Callback(Impl *client) : client_(client) { + explicit Callback(Impl *client) : client_(client) { } void on_result(std::uint64_t id, td_api::object_ptr result) override { client_->responses_.push_back({id, std::move(result)}); diff --git a/td/telegram/LanguagePackManager.cpp b/td/telegram/LanguagePackManager.cpp index 724ad060..49986cc8 100644 --- a/td/telegram/LanguagePackManager.cpp +++ b/td/telegram/LanguagePackManager.cpp @@ -25,6 +25,7 @@ #include "td/utils/Status.h" #include +#include #include #include diff --git a/tdnet/td/net/HttpInboundConnection.cpp b/tdnet/td/net/HttpInboundConnection.cpp index f6b4296c..e46d7f89 100644 --- a/tdnet/td/net/HttpInboundConnection.cpp +++ b/tdnet/td/net/HttpInboundConnection.cpp @@ -6,6 +6,8 @@ // #include "td/net/HttpInboundConnection.h" +#include "td/net/SslStream.h" + #include "td/utils/logging.h" namespace td {