mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Deprecate SetType, as it can be replaced by TableType
This commit is contained in:
parent
b25a844210
commit
b442c25389
13 changed files with 33 additions and 84 deletions
|
@ -214,7 +214,10 @@ public:
|
|||
const TableType* AsTableType() const;
|
||||
TableType* AsTableType();
|
||||
|
||||
[[deprecated("Remove in v9.1. Use AsTableType() instead.")]]
|
||||
const SetType* AsSetType() const;
|
||||
|
||||
[[deprecated("Remove in v9.1. Use AsTableType() instead.")]]
|
||||
SetType* AsSetType();
|
||||
|
||||
const RecordType* AsRecordType() const;
|
||||
|
@ -438,7 +441,7 @@ private:
|
|||
bool reported_error = false;
|
||||
};
|
||||
|
||||
class SetType final : public TableType {
|
||||
class [[deprecated("Remove in v9.1. Use TableType instead.")]] SetType final : public TableType {
|
||||
public:
|
||||
SetType(TypeListPtr ind, detail::ListExprPtr arg_elements);
|
||||
~SetType() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue