diff --git a/src/rgw/rgw_auth_s3.cc b/src/rgw/rgw_auth_s3.cc index f4b34e929e8..ed61d024a9e 100644 --- a/src/rgw/rgw_auth_s3.cc +++ b/src/rgw/rgw_auth_s3.cc @@ -57,7 +57,7 @@ get_canon_amz_hdr(const std::map& meta_map) dest.append("\n"); } - return std::move(dest); + return dest; } /* @@ -95,7 +95,7 @@ get_canon_resource(const char* const request_uri, } dout(10) << "get_canon_resource(): dest=" << dest << dendl; - return std::move(dest); + return dest; } /*