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

@ -4,7 +4,7 @@ type ftp_port: record;
%%{
#include "Reporter.h"
static zeek::IntrusivePtr<Val> parse_port(const char* line)
static ValPtr parse_port(const char* line)
{
auto r = zeek::make_intrusive<RecordVal>(zeek::BifType::Record::ftp_port);
@ -47,7 +47,7 @@ static zeek::IntrusivePtr<Val> parse_port(const char* line)
return r;
}
static zeek::IntrusivePtr<Val> parse_eftp(const char* line)
static ValPtr parse_eftp(const char* line)
{
auto r = zeek::make_intrusive<RecordVal>(zeek::BifType::Record::ftp_port);