Remove unused variables

This commit is contained in:
antao 2018-12-25 16:12:29 +08:00
parent 21be428e51
commit a64980f12f
2 changed files with 1 additions and 4 deletions

View File

@ -20,8 +20,7 @@ using namespace trantor;
using namespace drogon;
HttpClientContext::HttpClientContext(const trantor::TcpConnectionPtr &connPtr)
: _state(HttpResponseParseState::kExpectResponseLine),
_response(new HttpResponseImpl),
_conn(connPtr)
_response(new HttpResponseImpl)
{
}

View File

@ -76,8 +76,6 @@ class HttpClientContext
HttpResponseParseState _state;
HttpResponseImplPtr _response;
std::weak_ptr<trantor::TcpConnection> _conn;
};
} // namespace drogon