Use type aliases for IntrusivePtr definitions

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:46:34 -04:00
parent f6a251cdac
commit ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions

View file

@ -753,7 +753,7 @@ RecordVal* Manager::MakeEvent(val_list* args, Frame* frame)
return rval;
}
zeek::IntrusivePtr<RecordVal> data_val;
RecordValPtr data_val;
if ( same_type(got_type, bro_broker::DataVal::ScriptDataType()) )
data_val = {zeek::NewRef{}, (*args)[i]->AsRecordVal()};