mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Deprecate RecordType::FieldType(), replace with GetFieldType()
This commit is contained in:
parent
455fc29b1a
commit
103fed9f01
13 changed files with 105 additions and 89 deletions
|
@ -187,7 +187,7 @@ void ID::UpdateValAttrs()
|
|||
TypeDecl* fd = rt->FieldDecl(i);
|
||||
|
||||
if ( ! fd->attrs )
|
||||
fd->attrs = make_intrusive<Attributes>(new attr_list, IntrusivePtr{NewRef{}, rt->FieldType(i)}, true, IsGlobal());
|
||||
fd->attrs = make_intrusive<Attributes>(new attr_list, rt->GetFieldType(i), true, IsGlobal());
|
||||
|
||||
fd->attrs->AddAttr(make_intrusive<Attr>(ATTR_LOG));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue