Give make_intrusive() access to protected EnumVal ctor

This commit is contained in:
Jon Siwek 2020-05-06 16:45:01 -07:00
parent f512ae023e
commit c6f2e35af0
2 changed files with 5 additions and 2 deletions

View file

@ -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)
{
}