mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Deprecate VectorVal(VectorType*) ctora
Adds a new one taking an IntrusivePtr.
This commit is contained in:
parent
c5236ecaee
commit
d4dba40727
51 changed files with 171 additions and 160 deletions
|
@ -15,7 +15,7 @@ refine connection SMB_Conn += {
|
|||
%{
|
||||
if ( smb1_negotiate_request )
|
||||
{
|
||||
auto dialects = make_intrusive<VectorVal>(string_vec);
|
||||
auto dialects = make_intrusive<VectorVal>(IntrusivePtr{NewRef{}, string_vec});
|
||||
|
||||
for ( unsigned int i = 0; i < ${val.dialects}->size(); ++i )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue