mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Deprecate Attributes::AddAttrs(Attributes*)
Replaced with version taking an IntrusivePtr parameter
This commit is contained in:
parent
ccd1cbbc54
commit
6daa33364b
3 changed files with 11 additions and 1 deletions
|
@ -87,6 +87,10 @@ public:
|
|||
Attributes(IntrusivePtr<BroType> t, bool in_record, bool is_global);
|
||||
|
||||
void AddAttr(IntrusivePtr<Attr> a);
|
||||
|
||||
void AddAttrs(const IntrusivePtr<Attributes>& a);
|
||||
|
||||
[[deprecated("Remove in v4.1. Pass IntrusivePtr instead.")]]
|
||||
void AddAttrs(Attributes* a); // Unref's 'a' when done
|
||||
|
||||
Attr* FindAttr(attr_tag t) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue