mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +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
|
@ -5,6 +5,7 @@
|
|||
#include "IntrusivePtr.h"
|
||||
|
||||
class Val;
|
||||
using ValPtr = zeek::IntrusivePtr<Val>;
|
||||
|
||||
/**
|
||||
* A simple wrapper class to use for the return value of BIFs so that
|
||||
|
@ -24,5 +25,5 @@ public:
|
|||
[[deprecated("Remove in v4.1. Return an IntrusivePtr instead.")]]
|
||||
BifReturnVal(Val* v) noexcept;
|
||||
|
||||
zeek::IntrusivePtr<Val> rval;
|
||||
ValPtr rval;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue