remove the const double ref and use move instead (#2674)
This commit is contained in:
parent
59440caa39
commit
bd1beaf0b4
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user