mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Val, zeek);
|
||||
namespace zeek {
|
||||
using ValPtr = zeek::IntrusivePtr<zeek::Val>;
|
||||
using ValPtr = IntrusivePtr<Val>;
|
||||
}
|
||||
|
||||
namespace zeek::detail {
|
||||
|
@ -21,16 +21,16 @@ class BifReturnVal {
|
|||
public:
|
||||
|
||||
template <typename T>
|
||||
BifReturnVal(zeek::IntrusivePtr<T> v) noexcept
|
||||
: rval(zeek::AdoptRef{}, v.release())
|
||||
BifReturnVal(IntrusivePtr<T> v) noexcept
|
||||
: rval(AdoptRef{}, v.release())
|
||||
{ }
|
||||
|
||||
BifReturnVal(std::nullptr_t) noexcept;
|
||||
|
||||
[[deprecated("Remove in v4.1. Return an IntrusivePtr instead.")]]
|
||||
BifReturnVal(zeek::Val* v) noexcept;
|
||||
BifReturnVal(Val* v) noexcept;
|
||||
|
||||
zeek::ValPtr rval;
|
||||
ValPtr rval;
|
||||
};
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue