mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Allow duplicate attributes in full redefs
This commit is contained in:
parent
9b2f26c0aa
commit
9106f3f722
5 changed files with 18 additions and 15 deletions
|
@ -115,12 +115,12 @@ public:
|
|||
|
||||
~Attributes() override = default;
|
||||
|
||||
void AddAttr(AttrPtr a);
|
||||
void AddAttr(AttrPtr a, bool is_redef = false);
|
||||
|
||||
void AddAttrs(const AttributesPtr& a);
|
||||
void AddAttrs(const AttributesPtr& a, bool is_redef = false);
|
||||
|
||||
[[deprecated("Remove in v4.1. Pass IntrusivePtr instead.")]]
|
||||
void AddAttrs(Attributes* a); // Unref's 'a' when done
|
||||
void AddAttrs(Attributes* a, bool is_redef = false); // Unref's 'a' when done
|
||||
|
||||
[[deprecated("Remove in v4.1. Use Find().")]]
|
||||
Attr* FindAttr(AttrTag t) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue