mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +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
|
@ -889,7 +889,7 @@ bool Manager::Write(EnumVal* id, RecordVal* columns_arg)
|
|||
for ( const auto& fcte : *filter_config_table )
|
||||
{
|
||||
auto k = fcte.GetHashKey();
|
||||
auto* v = fcte.GetValue<TableEntryVal*>();
|
||||
auto* v = fcte.value;
|
||||
|
||||
auto index = filter->config->RecreateIndex(*k);
|
||||
string key = index->Idx(0)->AsString()->CheckString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue