mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Fix clang-tidy cppcoreguidelines-virtual-class-destructor warnings in headers
This commit is contained in:
parent
e84c99fb14
commit
311a744a20
8 changed files with 24 additions and 14 deletions
|
@ -356,6 +356,8 @@ protected:
|
|||
|
||||
class IndexType : public Type {
|
||||
public:
|
||||
~IndexType() override = default;
|
||||
|
||||
int MatchesIndex(detail::ListExpr* index) const override;
|
||||
|
||||
const TypeListPtr& GetIndices() const { return indices; }
|
||||
|
@ -391,8 +393,6 @@ protected:
|
|||
is_pattern_index = types.size() == 1 && types[0]->Tag() == TYPE_PATTERN;
|
||||
}
|
||||
|
||||
~IndexType() override = default;
|
||||
|
||||
void DoDescribe(ODesc* d) const override;
|
||||
|
||||
TypeListPtr indices;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue