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

@ -616,7 +616,7 @@ int Manager::HookLoadFile(const Plugin::LoadType type, const string& file, const
return rc;
}
std::pair<bool, zeek::IntrusivePtr<Val>>
std::pair<bool, ValPtr>
Manager::HookCallFunction(const Func* func, Frame* parent,
zeek::Args* vecargs) const
{
@ -638,7 +638,7 @@ Manager::HookCallFunction(const Func* func, Frame* parent,
hook_list* l = hooks[zeek::plugin::HOOK_CALL_FUNCTION];
std::pair<bool, zeek::IntrusivePtr<Val>> rval{false, nullptr};
std::pair<bool, ValPtr> rval{false, nullptr};
if ( l )
{