mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Type: base_type() returns IntrusivePtr
This commit is contained in:
parent
f0a357cadf
commit
6495193aae
16 changed files with 104 additions and 104 deletions
|
@ -106,7 +106,7 @@ static void make_var(ID* id, IntrusivePtr<BroType> t, init_class c,
|
|||
t = init_type(init.get());
|
||||
if ( ! t )
|
||||
{
|
||||
id->SetType({AdoptRef{}, error_type()});
|
||||
id->SetType(error_type());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue