Patch for clang bug
This commit is contained in:
parent
ec519f22dc
commit
7b645c5d98
|
@ -958,7 +958,7 @@ ClientHandler::get_downstream_connection(int &err, Downstream *downstream) {
|
||||||
auto dconn = addr->dconn_pool->pop_downstream_connection();
|
auto dconn = addr->dconn_pool->pop_downstream_connection();
|
||||||
if (dconn) {
|
if (dconn) {
|
||||||
dconn->set_client_handler(this);
|
dconn->set_client_handler(this);
|
||||||
return dconn;
|
return std::move(dconn);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (LOG_ENABLED(INFO)) {
|
if (LOG_ENABLED(INFO)) {
|
||||||
|
@ -969,7 +969,7 @@ ClientHandler::get_downstream_connection(int &err, Downstream *downstream) {
|
||||||
dconn = std::make_unique<HttpDownstreamConnection>(group, addr, conn_.loop,
|
dconn = std::make_unique<HttpDownstreamConnection>(group, addr, conn_.loop,
|
||||||
worker_);
|
worker_);
|
||||||
dconn->set_client_handler(this);
|
dconn->set_client_handler(this);
|
||||||
return dconn;
|
return std::move(dconn);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (LOG_ENABLED(INFO)) {
|
if (LOG_ENABLED(INFO)) {
|
||||||
|
@ -980,7 +980,7 @@ ClientHandler::get_downstream_connection(int &err, Downstream *downstream) {
|
||||||
auto http2session = get_http2_session(group, addr);
|
auto http2session = get_http2_session(group, addr);
|
||||||
auto dconn = std::make_unique<Http2DownstreamConnection>(http2session);
|
auto dconn = std::make_unique<Http2DownstreamConnection>(http2session);
|
||||||
dconn->set_client_handler(this);
|
dconn->set_client_handler(this);
|
||||||
return dconn;
|
return std::move(dconn);
|
||||||
}
|
}
|
||||||
|
|
||||||
MemchunkPool *ClientHandler::get_mcpool() { return worker_->get_mcpool(); }
|
MemchunkPool *ClientHandler::get_mcpool() { return worker_->get_mcpool(); }
|
||||||
|
|
Loading…
Reference in New Issue