mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Merge remote-tracking branch 'origin/topic/vern/deprecations'
* origin/topic/vern/deprecations: deprecate merge_patterns() deprecate boolean scalar+vector operations bug fix (and typo fix) for vector+scalar boolean operations deprecate mixing scalars and vectors deprecate && / || operators for patterns fixed typos in NEWS
This commit is contained in:
commit
fb5c32062b
4 changed files with 33 additions and 7 deletions
|
@ -3228,7 +3228,7 @@ bool VectorVal::AssignRepeat(unsigned int index, unsigned int how_many,
|
|||
ResizeAtLeast(index + how_many);
|
||||
|
||||
for ( unsigned int i = index; i < index + how_many; ++i )
|
||||
if ( ! Assign(i, element ) )
|
||||
if ( ! Assign(i, element->Ref() ) )
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue