mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Switch ListVal to store IntrusivePtrs
* Deprecates ListVal::Index() methods and replaces with ListVal::Idx() * Replaces ListVal::Vals() method with one that returns std::vector<IntrusivePtr<Val>> rather than val_list
This commit is contained in:
parent
b422f68b88
commit
5f57ceb70a
19 changed files with 111 additions and 100 deletions
|
@ -1026,7 +1026,7 @@ Supervisor::NodeConfig Supervisor::NodeConfig::FromRecord(const RecordVal* node)
|
|||
{
|
||||
auto key = cluster_table_val->RecoverIndex(k);
|
||||
delete k;
|
||||
auto name = key->Index(0)->AsStringVal()->ToStdString();
|
||||
auto name = key->Idx(0)->AsStringVal()->ToStdString();
|
||||
auto rv = v->Value()->AsRecordVal();
|
||||
|
||||
Supervisor::ClusterEndpoint ep;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue