Commit a9e098ac authored by Paul's avatar Paul
Browse files

Move params

parent 11bc1594
...@@ -524,7 +524,7 @@ void program::debug_print(const std::vector<instruction_ref>& inss) const ...@@ -524,7 +524,7 @@ void program::debug_print(const std::vector<instruction_ref>& inss) const
void program::dry_run(std::unordered_map<std::string, argument> params) const void program::dry_run(std::unordered_map<std::string, argument> params) const
{ {
auto& ctx = this->impl->ctx; auto& ctx = this->impl->ctx;
generic_eval(*this, ctx, params, [](auto&&...) { return argument{}; }); generic_eval(*this, ctx, std::move(params), [](auto&&...) { return argument{}; });
} }
bool operator==(const program& x, const program& y) { return to_string(x) == to_string(y); } bool operator==(const program& x, const program& y) { return to_string(x) == to_string(y); }
......
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