remove the const double ref and use move instead (#2674)

This commit is contained in:
Victor Vazquez 2021-07-27 17:39:26 -07:00 committed by GitHub
parent 59440caa39
commit bd1beaf0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,10 @@ struct RequestWithContinuationToken final
static inline RequestWithContinuationToken BuildRequestFromContinuationToken(
const Azure::Nullable<std::string>& NextPageToken,
const std::vector<std::string>&& defaultPath)
std::vector<std::string> defaultPath)
{
RequestWithContinuationToken request;
request.Path = defaultPath;
request.Path = std::move(defaultPath);
if (NextPageToken)
{
// Using a continuation token requires to send the request to the continuation token URL instead