Commit c64daa2e authored by Paul's avatar Paul
Browse files

Use move

parent 255342ca
...@@ -19,7 +19,7 @@ struct find_add_lit_broadcast ...@@ -19,7 +19,7 @@ struct find_add_lit_broadcast
auto add_lit_broadcast(std::string x, std::string y) const auto add_lit_broadcast(std::string x, std::string y) const
{ {
return match::name("add")( return match::name("add")(
match::either_arg(0, 1)(lit_broadcast().bind(x), not_lit_broadcast().bind(y))); match::either_arg(0, 1)(lit_broadcast().bind(std::move(x)), not_lit_broadcast().bind(std::move(y))));
} }
auto matcher() const auto matcher() const
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment