Deprecate VectorVal(VectorType*) ctora

Adds a new one taking an IntrusivePtr.
This commit is contained in:
Jon Siwek 2020-05-09 12:01:03 -07:00
parent c5236ecaee
commit d4dba40727
51 changed files with 171 additions and 160 deletions

View file

@ -127,7 +127,7 @@ void EventHandler::NewEvent(const zeek::Args& vl)
return;
RecordType* args = FType()->Args();
auto vargs = make_intrusive<VectorVal>(call_argument_vector);
auto vargs = make_intrusive<VectorVal>(IntrusivePtr{NewRef{}, call_argument_vector});
for ( int i = 0; i < args->NumFields(); i++ )
{