rgw: fix incomplete RGWRESTConn move constructor/assignment

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
This commit is contained in:
Oguzhan Ozmen 2026-02-07 02:00:16 +00:00
parent 030e62b8f1
commit e468f0f65f

View File

@ -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;
}