mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
minor efficiency tweak for ZAM record construction
This commit is contained in:
parent
9b0173172f
commit
bbae2cf36c
1 changed files with 1 additions and 1 deletions
|
@ -1064,7 +1064,7 @@ macro EvalConstructRecord(map_init, map_accessor)
|
||||||
const auto& t_ind = rt->GetFieldType(ind);
|
const auto& t_ind = rt->GetFieldType(ind);
|
||||||
v_i->AsVectorVal()->Concretize(t_ind->Yield());
|
v_i->AsVectorVal()->Concretize(t_ind->Yield());
|
||||||
}
|
}
|
||||||
new_r->Assign(ind, aux->ToVal(frame, i));
|
new_r->Assign(ind, v_i);
|
||||||
}
|
}
|
||||||
auto& r = frame[z.v1].record_val;
|
auto& r = frame[z.v1].record_val;
|
||||||
Unref(r);
|
Unref(r);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue