Eliminate moved_ref

Use real rvalue references instead
This commit is contained in:
ridiculousfish
2017-01-26 15:36:12 -08:00
parent 1634c9df78
commit fec83fa975
8 changed files with 16 additions and 29 deletions

View File

@@ -75,10 +75,10 @@ static wcstring profiling_cmd_name_for_redirectable_block(const parse_node_t &no
return result;
}
parse_execution_context_t::parse_execution_context_t(moved_ref<parse_node_tree_t> t,
parse_execution_context_t::parse_execution_context_t(parse_node_tree_t t,
const wcstring &s, parser_t *p,
int initial_eval_level)
: tree(t),
: tree(std::move(t)),
src(s),
parser(p),
eval_level(initial_eval_level),