forked from lix-project/lix
Merge pull request #5680 from andir/libexpr-dont-move-primop-args
Don't move the arguments of the primOp
This commit is contained in:
commit
e1420c66a4
|
@ -3732,7 +3732,7 @@ void EvalState::createBaseEnv()
|
|||
.fun = primOp.fun,
|
||||
.arity = std::max(primOp.args.size(), primOp.arity),
|
||||
.name = symbols.create(primOp.name),
|
||||
.args = std::move(primOp.args),
|
||||
.args = primOp.args,
|
||||
.doc = primOp.doc,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue