forked from boostorg/regex
Performance improvement
By-value sink params can be moved into their final destination
This commit is contained in:
@ -553,7 +553,7 @@ public:
|
||||
|
||||
void set_named_subs(std::shared_ptr<named_sub_type> subs)
|
||||
{
|
||||
m_named_subs = subs;
|
||||
m_named_subs = std::move(subs);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user