mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Deprecate FuncType::Args(), replace with Params()
This commit is contained in:
parent
938ad35a43
commit
40153cc5cb
10 changed files with 24 additions and 17 deletions
|
@ -744,7 +744,7 @@ bool Manager::Write(EnumVal* id, RecordVal* columns_arg)
|
|||
path_arg = val_mgr->EmptyString();
|
||||
|
||||
IntrusivePtr<Val> rec_arg;
|
||||
const auto& rt = filter->path_func->GetType()->Args()->GetFieldType("rec");
|
||||
const auto& rt = filter->path_func->GetType()->Params()->GetFieldType("rec");
|
||||
|
||||
if ( rt->Tag() == TYPE_RECORD )
|
||||
rec_arg = columns->CoerceTo(rt->AsRecordType(), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue