mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Use type aliases for IntrusivePtr definitions
This commit is contained in:
parent
f6a251cdac
commit
ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions
|
@ -26,7 +26,7 @@ EventHandler::operator bool() const
|
|||
|| ! auto_publish.empty());
|
||||
}
|
||||
|
||||
const zeek::IntrusivePtr<zeek::FuncType>& EventHandler::GetType(bool check_export)
|
||||
const zeek::FuncTypePtr& EventHandler::GetType(bool check_export)
|
||||
{
|
||||
if ( type )
|
||||
return type;
|
||||
|
@ -44,7 +44,7 @@ const zeek::IntrusivePtr<zeek::FuncType>& EventHandler::GetType(bool check_expor
|
|||
return type;
|
||||
}
|
||||
|
||||
void EventHandler::SetFunc(zeek::IntrusivePtr<Func> f)
|
||||
void EventHandler::SetFunc(FuncPtr f)
|
||||
{ local = std::move(f); }
|
||||
|
||||
void EventHandler::SetLocalHandler(Func* f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue