mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
addressed some nits re "-O gen-C++" script optimization
This commit is contained in:
parent
6af0014a7b
commit
4928e074d4
3 changed files with 5 additions and 7 deletions
|
@ -124,8 +124,6 @@ void CPPCompile::Compile(bool report_uncompilable)
|
|||
types.AddKey(tp, pfs.HashType(t));
|
||||
}
|
||||
|
||||
Emit("TypePtr types__CPP[%s];", Fmt(static_cast<int>(types.DistinctKeys().size())));
|
||||
|
||||
NL();
|
||||
|
||||
for ( auto& g : pfs.AllGlobals() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue