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

@ -187,8 +187,8 @@ public:
void AckReceived(uint64_t seq);
void SetContentsFile(zeek::IntrusivePtr<BroFile> f);
const zeek::IntrusivePtr<BroFile>& GetContentsFile() const { return contents_file; }
void SetContentsFile(BroFilePtr f);
const BroFilePtr& GetContentsFile() const { return contents_file; }
// Codes used for tracking history. For responders, we shift these
// over by 16 bits in order to fit both originator and responder
@ -211,7 +211,7 @@ public:
TCP_Endpoint* peer;
TCP_Reassembler* contents_processor;
TCP_Analyzer* tcp_analyzer;
zeek::IntrusivePtr<BroFile> contents_file;
BroFilePtr contents_file;
uint32_t checksum_base;
double start_time, last_time;