mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Deprecate IndexType::Indices(), replace with GetIndices()
This commit is contained in:
parent
4e77df3c28
commit
4b17929b6b
10 changed files with 39 additions and 37 deletions
|
@ -400,6 +400,10 @@ class IndexType : public BroType {
|
|||
public:
|
||||
int MatchesIndex(ListExpr* index) const override;
|
||||
|
||||
const IntrusivePtr<TypeList>& GetIndices() const
|
||||
{ return indices; }
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetIndices().")]]
|
||||
TypeList* Indices() const { return indices.get(); }
|
||||
|
||||
const std::vector<IntrusivePtr<BroType>>& IndexTypes() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue