diff --git a/src/script_opt/CPP/RuntimeInits.cc b/src/script_opt/CPP/RuntimeInits.cc index b2126b4dcc..1e5678d8b0 100644 --- a/src/script_opt/CPP/RuntimeInits.cc +++ b/src/script_opt/CPP/RuntimeInits.cc @@ -28,7 +28,7 @@ void CPP_IndexedInits::Generate(InitsManager* im, std::vector& iv { auto& e_type = im->Types(init_vals[0]); int val = init_vals[1]; - ivec[offset] = make_enum__CPP(e_type, val); + ivec[offset] = zeek::detail::make_enum__CPP(e_type, val); } template