mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Move IntrusivePtr and utility methods to the zeek namespace
This commit is contained in:
parent
4668378d91
commit
9364e6a5b7
255 changed files with 3761 additions and 3730 deletions
|
@ -81,7 +81,7 @@ public:
|
|||
/**
|
||||
* Returns record value of type "EncapsulatingConn" representing the tunnel.
|
||||
*/
|
||||
IntrusivePtr<RecordVal> ToVal() const;
|
||||
zeek::IntrusivePtr<RecordVal> ToVal() const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use ToVal() instead.")]]
|
||||
RecordVal* GetRecordVal() const
|
||||
|
@ -196,9 +196,9 @@ public:
|
|||
* Get the value of type "EncapsulatingConnVector" represented by the
|
||||
* entire encapsulation chain.
|
||||
*/
|
||||
IntrusivePtr<VectorVal> ToVal() const
|
||||
zeek::IntrusivePtr<VectorVal> ToVal() const
|
||||
{
|
||||
auto vv = make_intrusive<VectorVal>(
|
||||
auto vv = zeek::make_intrusive<VectorVal>(
|
||||
zeek::id::find_type<zeek::VectorType>("EncapsulatingConnVector"));
|
||||
|
||||
if ( conns )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue