Use move to initialize the body buffer (#150)
This commit is contained in:
parent
711fe5f8c6
commit
502d3f15a9
@ -211,8 +211,8 @@ namespace Azure { namespace Core { namespace Http {
|
||||
{
|
||||
}
|
||||
|
||||
Request(HttpMethod httpMethod, std::string const& url, std::vector<uint8_t> const& bodyBuffer)
|
||||
: Request(httpMethod, url, BodyStream::null, bodyBuffer)
|
||||
Request(HttpMethod httpMethod, std::string const& url, std::vector<uint8_t> bodyBuffer)
|
||||
: Request(httpMethod, url, BodyStream::null, std::move(bodyBuffer))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user