mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Use const-ref parameter for zeek::val_list_to_args()
It ended up being used a bit more than initially expected and this is closer to the style we're generally aiming for.
This commit is contained in:
parent
599dda9ae9
commit
e7e5cf0f89
7 changed files with 17 additions and 18 deletions
|
@ -296,7 +296,7 @@ int BroFunc::IsPure() const
|
|||
|
||||
IntrusivePtr<Val> Func::Call(val_list* args, Frame* parent) const
|
||||
{
|
||||
return Call(zeek::val_list_to_args(args), parent);
|
||||
return Call(zeek::val_list_to_args(*args), parent);
|
||||
}
|
||||
|
||||
IntrusivePtr<Val> BroFunc::Call(const zeek::Args& args, Frame* parent) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue