mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-01-01 03:12:23 +08:00
Fix bug introduced with Function_Params refactor
This commit is contained in:
parent
28a59d2a6e
commit
b03b90dee6
@ -462,7 +462,7 @@ namespace chaiscript
|
||||
} else {
|
||||
if (!params[1].is_return_value())
|
||||
{
|
||||
params[1] = t_ss->call_function("clone", m_clone_loc, Function_Params{¶ms[0], std::end(params)}, t_ss.conversions());
|
||||
params[1] = t_ss->call_function("clone", m_clone_loc, Function_Params{¶ms[1], std::end(params)}, t_ss.conversions());
|
||||
}
|
||||
params[1].reset_return_value();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user