Use type aliases for IntrusivePtr definitions

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:46:34 -04:00
parent f6a251cdac
commit ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions

View file

@ -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;
};