mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Deprecate TableVal::ConvertToList() and TableVal::ConvertToPureList()
Replaced with ToListVal() and ToPureListVal() that return IntrusivePtr
This commit is contained in:
parent
5f57ceb70a
commit
b096e552d3
10 changed files with 37 additions and 38 deletions
|
@ -749,8 +749,8 @@ ListVal* internal_list_val(const char* name)
|
|||
else if ( v->Type()->IsSet() )
|
||||
{
|
||||
TableVal* tv = v->AsTableVal();
|
||||
ListVal* lv = tv->ConvertToPureList();
|
||||
return lv;
|
||||
auto lv = tv->ToPureListVal();
|
||||
return lv.release();
|
||||
}
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue