Use type aliases for IntrusivePtr definitions

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:46:34 -04:00
parent f6a251cdac
commit ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions

View file

@ -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)