mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Fixed invokation of make_enum__CPP
This commit is contained in:
parent
3d29f03d6d
commit
98a0e242ad
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ void CPP_IndexedInits<T>::Generate(InitsManager* im, std::vector<EnumValPtr>& iv
|
||||||
{
|
{
|
||||||
auto& e_type = im->Types(init_vals[0]);
|
auto& e_type = im->Types(init_vals[0]);
|
||||||
int val = init_vals[1];
|
int val = init_vals[1];
|
||||||
ivec[offset] = make_enum__CPP(e_type, val);
|
ivec[offset] = zeek::detail::make_enum__CPP(e_type, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue