mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
remove optimization no longer needed
This commit is contained in:
parent
93e9801f89
commit
4a1d5adcf4
1 changed files with 0 additions and 2 deletions
|
@ -203,8 +203,6 @@ RecordValPtr record_constructor__CPP(vector<ValPtr> vals, RecordTypePtr t)
|
|||
auto rv = make_intrusive<RecordVal>(move(t));
|
||||
auto n = vals.size();
|
||||
|
||||
rv->Reserve(n);
|
||||
|
||||
for ( auto i = 0u; i < n; ++i )
|
||||
rv->Assign(i, vals[i]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue