mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Scope: use class IntrusivePtr
This commit is contained in:
parent
36a26a7b43
commit
dc518c0fb4
3 changed files with 14 additions and 20 deletions
|
@ -394,7 +394,7 @@ void begin_func(ID* id, const char* module_name, function_flavor flavor,
|
|||
else
|
||||
id->SetType(t);
|
||||
|
||||
push_scope(id, attrs);
|
||||
push_scope({NewRef{}, id}, attrs);
|
||||
|
||||
RecordType* args = t->Args();
|
||||
int num_args = args->NumFields();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue