mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
fix for C++ scripts that refer to "opaque" types
This commit is contained in:
parent
a725cfa9e3
commit
7210225bba
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ void EnumTypeInfo::AddInitializerVals(std::vector<std::string>& ivs) const
|
|||
|
||||
void OpaqueTypeInfo::AddInitializerVals(std::vector<std::string>& ivs) const
|
||||
{
|
||||
ivs.emplace_back(Fmt(c->TrackString(t->GetName())));
|
||||
ivs.emplace_back(Fmt(c->TrackString(t->AsOpaqueType()->Name())));
|
||||
}
|
||||
|
||||
TypeTypeInfo::TypeTypeInfo(CPPCompile* _c, TypePtr _t) : AbstractTypeInfo(_c, move(_t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue