Move IntrusivePtr and utility methods to the zeek namespace

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:40:00 -04:00
parent 4668378d91
commit 9364e6a5b7
255 changed files with 3761 additions and 3730 deletions

View file

@ -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 )