Skip to content

Commit

Permalink
Performance improvement
Browse files Browse the repository at this point in the history
By-value sink params can be moved into their final destination
  • Loading branch information
BrianWeed authored Aug 14, 2024
1 parent cb55913 commit d4e7ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/regex/v5/match_results.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ class match_results

void set_named_subs(std::shared_ptr<named_sub_type> subs)
{
m_named_subs = subs;
m_named_subs = std::move(subs);
}

private:
Expand Down

0 comments on commit d4e7ac7

Please sign in to comment.