diff --git a/sdk/core/azure-core/inc/http/http.hpp b/sdk/core/azure-core/inc/http/http.hpp index 2c2ce9743..84872b5bf 100644 --- a/sdk/core/azure-core/inc/http/http.hpp +++ b/sdk/core/azure-core/inc/http/http.hpp @@ -211,8 +211,8 @@ namespace Azure { namespace Core { namespace Http { { } - Request(HttpMethod httpMethod, std::string const& url, std::vector const& bodyBuffer) - : Request(httpMethod, url, BodyStream::null, bodyBuffer) + Request(HttpMethod httpMethod, std::string const& url, std::vector bodyBuffer) + : Request(httpMethod, url, BodyStream::null, std::move(bodyBuffer)) { }