Skip to content

Commit

Permalink
remove invalid std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Jan 1, 2025
1 parent 7fd8c31 commit 3ab54e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/url_pattern_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ tl::expected<std::vector<Token>, url_pattern_errors> tokenize(

ada_log("tokenizer.token_list size is: ", tokenizer.token_list.size());
// Return tokenizer’s token list.
return std::move(tokenizer.token_list);
return tokenizer.token_list;
}

std::string escape_pattern_string(std::string_view input) {
Expand Down

0 comments on commit 3ab54e8

Please sign in to comment.