mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Change BroValUnion to use IntrusivePtr for record field storage
This also changes the AsRecord() and AsNonConstRecord() accessors to return std::vector<IntrusivePtr<Val>>* instead of val_list*
This commit is contained in:
parent
9583873936
commit
377779bb2a
5 changed files with 38 additions and 36 deletions
|
@ -910,7 +910,7 @@ Connection* NetSessions::FindConnection(Val* v)
|
|||
return nullptr;
|
||||
|
||||
RecordType* vr = vt->AsRecordType();
|
||||
const val_list* vl = v->AsRecord();
|
||||
auto vl = v->AsRecord();
|
||||
|
||||
int orig_h, orig_p; // indices into record's value list
|
||||
int resp_h, resp_p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue