diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-14 12:53:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 12:53:38 +0200 |
commit | 5f5f53e8eba5c9b708714de58d3cca6ceb010279 (patch) | |
tree | 8bebdce946466ce8e9476ccd46c9dba62c323938 /core/io/http_client.cpp | |
parent | e7c9d818766a119089873e4941e4865fb36883ec (diff) | |
parent | 1f6f364a56319eabd02c050746fe7df3f55ffee3 (diff) |
Merge pull request #38697 from akien-mga/member-init-c++11
Port member default initialization from constructor to declaration (C++11)
Diffstat (limited to 'core/io/http_client.cpp')
-rw-r--r-- | core/io/http_client.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp index 56f8f1ff91..672569c5db 100644 --- a/core/io/http_client.cpp +++ b/core/io/http_client.cpp @@ -729,27 +729,10 @@ int HTTPClient::get_read_chunk_size() const { } HTTPClient::HTTPClient() { - tcp_connection.instance(); - resolving = IP::RESOLVER_INVALID_ID; - status = STATUS_DISCONNECTED; - head_request = false; - conn_port = -1; - body_size = -1; - chunked = false; - body_left = 0; - read_until_eof = false; - chunk_left = 0; - chunk_trailer_part = false; - response_num = 0; - ssl = false; - blocking = false; - handshaking = false; - read_chunk_size = 4096; } -HTTPClient::~HTTPClient() { -} +HTTPClient::~HTTPClient() {} #endif // #ifndef JAVASCRIPT_ENABLED |