mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Deprecate attr_tag in a different way, rename to AttrTag
This commit is contained in:
parent
a5a51de3c4
commit
a280bfa0b1
9 changed files with 67 additions and 137 deletions
|
@ -1481,7 +1481,7 @@ void TableVal::SetAttrs(IntrusivePtr<zeek::detail::Attributes> a)
|
|||
change_func = cf->GetExpr();
|
||||
}
|
||||
|
||||
void TableVal::CheckExpireAttr(zeek::detail::attr_tag at)
|
||||
void TableVal::CheckExpireAttr(zeek::detail::AttrTag at)
|
||||
{
|
||||
const auto& a = attrs->Find(at);
|
||||
|
||||
|
@ -2194,7 +2194,7 @@ ListVal* TableVal::ConvertToPureList() const
|
|||
return ToPureListVal().release();
|
||||
}
|
||||
|
||||
const IntrusivePtr<zeek::detail::Attr>& TableVal::GetAttr(zeek::detail::attr_tag t) const
|
||||
const IntrusivePtr<zeek::detail::Attr>& TableVal::GetAttr(zeek::detail::AttrTag t) const
|
||||
{
|
||||
return attrs ? attrs->Find(t) : zeek::detail::Attr::nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue