mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Deprecate Attributes::FindAttr(), replace with Find()
This commit is contained in:
parent
6daa33364b
commit
bee321711f
10 changed files with 46 additions and 33 deletions
|
@ -567,7 +567,7 @@ public:
|
|||
~TypeDecl();
|
||||
|
||||
const Attr* FindAttr(attr_tag a) const
|
||||
{ return attrs ? attrs->FindAttr(a) : nullptr; }
|
||||
{ return attrs ? attrs->Find(a).get() : nullptr; }
|
||||
|
||||
void DescribeReST(ODesc* d, bool roles_only = false) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue