mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
GH-1034: Revert TypeList::Types() back to return a type_list* and mark it deprecated
This commit is contained in:
parent
a5a51de3c4
commit
e1338cc379
15 changed files with 82 additions and 71 deletions
|
@ -742,7 +742,7 @@ RecordVal* Manager::MakeEvent(val_list* args, Frame* frame)
|
|||
}
|
||||
|
||||
const auto& got_type = (*args)[i]->GetType();
|
||||
const auto& expected_type = func->GetType()->ParamList()->Types()[i - 1];
|
||||
const auto& expected_type = func->GetType()->ParamList()->GetTypes()[i - 1];
|
||||
|
||||
if ( ! same_type(got_type, expected_type) )
|
||||
{
|
||||
|
@ -978,7 +978,7 @@ void Manager::ProcessEvent(const broker::topic& topic, broker::zeek::Event ev)
|
|||
return;
|
||||
}
|
||||
|
||||
const auto& arg_types = handler->GetType(false)->ParamList()->Types();
|
||||
const auto& arg_types = handler->GetType(false)->ParamList()->GetTypes();
|
||||
|
||||
if ( arg_types.size() != args.size() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue