mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Convert Dictionary types to be templated classes
This has the fortunate side-effect of also making it so we can store the value objects as typed pointers, instead of void*.
This commit is contained in:
parent
15c0bd9b9d
commit
47e7fe2cd1
15 changed files with 1153 additions and 1284 deletions
|
@ -1331,7 +1331,7 @@ ValPtr ForStmt::DoExec(Frame* f, Val* v, StmtFlowType& flow)
|
|||
for ( const auto& lve : *loop_vals )
|
||||
{
|
||||
auto k = lve.GetHashKey();
|
||||
auto* current_tev = lve.GetValue<TableEntryVal*>();
|
||||
auto* current_tev = lve.value;
|
||||
auto ind_lv = tv->RecreateIndex(*k);
|
||||
|
||||
if ( value_var )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue