diff --git a/src/rgw/rgw_rest_conn.cc b/src/rgw/rgw_rest_conn.cc index fb54bc57a81..727cef4331c 100644 --- a/src/rgw/rgw_rest_conn.cc +++ b/src/rgw/rgw_rest_conn.cc @@ -130,7 +130,9 @@ RGWRESTConn::RGWRESTConn(RGWRESTConn&& other) resolved_endpoints(std::move(other.resolved_endpoints)), key(std::move(other.key)), self_zone_group(std::move(other.self_zone_group)), - remote_id(std::move(other.remote_id)) + remote_id(std::move(other.remote_id)), + api_name(std::move(other.api_name)), + host_style(other.host_style) { } @@ -143,6 +145,8 @@ RGWRESTConn& RGWRESTConn::operator=(RGWRESTConn&& other) key = std::move(other.key); self_zone_group = std::move(other.self_zone_group); remote_id = std::move(other.remote_id); + api_name = std::move(other.api_name); + host_style = other.host_style; return *this; }