mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include "IntrusivePtr.h"
|
||||
#include "NetVar.h"
|
||||
#include "IPAddr.h"
|
||||
#include "ID.h"
|
||||
|
@ -81,7 +80,7 @@ public:
|
|||
/**
|
||||
* Returns record value of type "EncapsulatingConn" representing the tunnel.
|
||||
*/
|
||||
zeek::IntrusivePtr<RecordVal> ToVal() const;
|
||||
RecordValPtr ToVal() const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use ToVal() instead.")]]
|
||||
RecordVal* GetRecordVal() const
|
||||
|
@ -196,7 +195,7 @@ public:
|
|||
* Get the value of type "EncapsulatingConnVector" represented by the
|
||||
* entire encapsulation chain.
|
||||
*/
|
||||
zeek::IntrusivePtr<VectorVal> ToVal() const
|
||||
VectorValPtr ToVal() const
|
||||
{
|
||||
auto vv = zeek::make_intrusive<VectorVal>(
|
||||
zeek::id::find_type<zeek::VectorType>("EncapsulatingConnVector"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue