mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Give make_intrusive() access to protected EnumVal ctor
This commit is contained in:
parent
f512ae023e
commit
c6f2e35af0
2 changed files with 5 additions and 2 deletions
|
@ -998,6 +998,9 @@ protected:
|
|||
friend class Val;
|
||||
friend class EnumType;
|
||||
|
||||
template<class T, class... Ts>
|
||||
friend IntrusivePtr<T> make_intrusive(Ts&&... args);
|
||||
|
||||
EnumVal(EnumType* t, int i) : Val(bro_int_t(i), t)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue