mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
minimize extra dv::value copies
This commit is contained in:
parent
bd176f24e1
commit
3953583605
14 changed files with 29 additions and 26 deletions
|
|
@ -46,7 +46,7 @@ namespace cmd {
|
|||
};
|
||||
|
||||
using executor_func = std::function<dv::value(
|
||||
CommandsInterpreter*, dv::value args, dv::value kwargs
|
||||
CommandsInterpreter*, const dv::value& args, const dv::value& kwargs
|
||||
)>;
|
||||
|
||||
class Command {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue