mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Deprecate Scope::ScopeID(), replace with GetID()
This commit is contained in:
parent
8b6de5852c
commit
b0c95e30d0
3 changed files with 9 additions and 5 deletions
|
@ -35,8 +35,12 @@ public:
|
|||
|
||||
IntrusivePtr<ID> Remove(std::string_view name);
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetID().")]]
|
||||
ID* ScopeID() const { return scope_id.get(); }
|
||||
|
||||
const IntrusivePtr<ID>& GetID() const
|
||||
{ return scope_id; }
|
||||
|
||||
const std::unique_ptr<std::vector<IntrusivePtr<Attr>>>& Attrs() const
|
||||
{ return attrs; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue