mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Deprecate FuncType::ArgTypes(), replace with ParamList()
This commit is contained in:
parent
40153cc5cb
commit
83f1a911d7
10 changed files with 21 additions and 15 deletions
|
@ -741,7 +741,7 @@ RecordVal* Manager::MakeEvent(val_list* args, Frame* frame)
|
|||
}
|
||||
|
||||
const auto& got_type = (*args)[i]->GetType();
|
||||
const auto& expected_type = func->GetType()->ArgTypes()->Types()[i - 1];
|
||||
const auto& expected_type = func->GetType()->ParamList()->Types()[i - 1];
|
||||
|
||||
if ( ! same_type(got_type.get(), expected_type.get()) )
|
||||
{
|
||||
|
@ -977,7 +977,7 @@ void Manager::ProcessEvent(const broker::topic& topic, broker::zeek::Event ev)
|
|||
return;
|
||||
}
|
||||
|
||||
const auto& arg_types = handler->GetType(false)->ArgTypes()->Types();
|
||||
const auto& arg_types = handler->GetType(false)->ParamList()->Types();
|
||||
|
||||
if ( arg_types.size() != args.size() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue