mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
change vector assignment operator and remove unnecessary argument (expr)
This commit is contained in:
parent
a2556642e6
commit
8f259f866d
15 changed files with 63 additions and 69 deletions
|
@ -866,7 +866,7 @@ function str_split%(s: string, idx: index_vec%): string_vec
|
|||
|
||||
for ( BroString::VecIt it = result->begin();
|
||||
it != result->end(); ++it, ++i )
|
||||
result_v->Assign(i, new StringVal(*it), 0);
|
||||
result_v->Assign(i, new StringVal(*it));
|
||||
// StringVal now possesses string.
|
||||
|
||||
delete result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue