mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Deprecate VectorVal::Assign methods taking raw Val*
And adapt usages to pass in to alternate method taking IntrusivePtr
This commit is contained in:
parent
2cbf36721c
commit
de1e3d7d6d
15 changed files with 77 additions and 54 deletions
|
@ -209,7 +209,7 @@ IntrusivePtr<VectorVal> TopkVal::GetTopK(int k) const // returns vector
|
|||
while ( eit != (*it)->elements.end() )
|
||||
{
|
||||
//printf("Size: %ld\n", (*it)->elements.size());
|
||||
t->Assign(read, (*eit)->value->Ref());
|
||||
t->Assign(read, (*eit)->value);
|
||||
read++;
|
||||
eit++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue