diff options
| author | levlam <levlam@telegram.org> | 2024-08-31 16:57:07 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-08-31 16:57:07 +0300 |
| commit | 7a72a5ac2fb97d8b8d3b27d4786c6692effbb512 (patch) | |
| tree | 0c47756ea776ac1d84dcb943543f2034b38ffef7 /tdnet | |
| parent | 16179ed72eb2e5ed3cabac4438e5b6f595f995c5 (diff) | |
Don't mark constructors with multiple parameters as explicit.
Diffstat (limited to 'tdnet')
| -rw-r--r-- | tdnet/td/net/Wget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdnet/td/net/Wget.h b/tdnet/td/net/Wget.h index a9d3e77d5..bc017a1d0 100644 --- a/tdnet/td/net/Wget.h +++ b/tdnet/td/net/Wget.h @@ -22,9 +22,9 @@ namespace td { class Wget final : public HttpOutboundConnection::Callback { public: - explicit Wget(Promise<unique_ptr<HttpQuery>> promise, string url, std::vector<std::pair<string, string>> headers = {}, - int32 timeout_in = 10, int32 ttl = 3, bool prefer_ipv6 = false, - SslCtx::VerifyPeer verify_peer = SslCtx::VerifyPeer::On, string content = {}, string content_type = {}); + Wget(Promise<unique_ptr<HttpQuery>> promise, string url, std::vector<std::pair<string, string>> headers = {}, + int32 timeout_in = 10, int32 ttl = 3, bool prefer_ipv6 = false, + SslCtx::VerifyPeer verify_peer = SslCtx::VerifyPeer::On, string content = {}, string content_type = {}); private: Status try_init(); |
