change vector assignment operator and remove unnecessary argument (expr)

This commit is contained in:
Bernhard Amann 2013-03-06 14:08:06 -08:00
parent a2556642e6
commit 8f259f866d
15 changed files with 63 additions and 69 deletions

View file

@ -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;