mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue