mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Deprecate EventHandler::FType(), replace with GetType()
This commit is contained in:
parent
6aa1d0468d
commit
938ad35a43
5 changed files with 19 additions and 12 deletions
|
@ -4313,7 +4313,8 @@ EventExpr::EventExpr(const char* arg_name, IntrusivePtr<ListExpr> arg_args)
|
|||
return;
|
||||
}
|
||||
|
||||
FuncType* func_type = h->FType();
|
||||
const auto& func_type = h->GetType();
|
||||
|
||||
if ( ! func_type )
|
||||
{
|
||||
Error("not an event");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue