mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fixes for initializations of "-O gen-C++" script compilations
This commit is contained in:
parent
bae87fb606
commit
f7b739a47d
4 changed files with 14 additions and 3 deletions
|
@ -441,7 +441,7 @@ TableTypeInfo::TableTypeInfo(CPPCompile* _c, TypePtr _t) : AbstractTypeInfo(_c,
|
|||
auto gi = c->RegisterType(tbl->GetIndices());
|
||||
ASSERT(gi);
|
||||
indices = gi->Offset();
|
||||
final_init_cohort = gi->InitCohort();
|
||||
final_init_cohort = gi->InitCohort() + 1;
|
||||
|
||||
yield = tbl->Yield();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue