mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +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
|
@ -15,8 +15,8 @@ class BifReturnVal {
|
|||
public:
|
||||
|
||||
template <typename T>
|
||||
BifReturnVal(IntrusivePtr<T> v) noexcept
|
||||
: rval(AdoptRef{}, v.release())
|
||||
BifReturnVal(zeek::IntrusivePtr<T> v) noexcept
|
||||
: rval(zeek::AdoptRef{}, v.release())
|
||||
{ }
|
||||
|
||||
BifReturnVal(std::nullptr_t) noexcept;
|
||||
|
@ -24,5 +24,5 @@ public:
|
|||
[[deprecated("Remove in v4.1. Return an IntrusivePtr instead.")]]
|
||||
BifReturnVal(Val* v) noexcept;
|
||||
|
||||
IntrusivePtr<Val> rval;
|
||||
zeek::IntrusivePtr<Val> rval;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue