mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Deprecate TableVal::Attrs(), replace with GetAttrs()
This commit is contained in:
parent
dc03f0bb83
commit
ad224419ad
3 changed files with 7 additions and 3 deletions
|
@ -915,8 +915,13 @@ public:
|
|||
|
||||
void SetAttrs(IntrusivePtr<Attributes> attrs);
|
||||
Attr* FindAttr(attr_tag t) const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetAttrs().")]]
|
||||
Attributes* Attrs() { return attrs.get(); }
|
||||
|
||||
const IntrusivePtr<Attributes>& GetAttrs() const
|
||||
{ return attrs; }
|
||||
|
||||
// Returns the size of the table.
|
||||
int Size() const;
|
||||
int RecursiveSize() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue