xo-interpreter2: VSM.start_eval() returns const ref
If copied get unstable value, since may be moved away on next gc
This commit is contained in:
parent
8a78b94cd4
commit
3e97590990
2 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ namespace xo {
|
|||
return VsmResultExt(VsmResult(*p_value), remaining);
|
||||
}
|
||||
|
||||
VsmResult
|
||||
const VsmResult &
|
||||
DVirtualSchematikaMachine::start_eval(obj<AExpression> expr)
|
||||
{
|
||||
this->pc_ = VsmInstr::c_eval;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue