mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Deprecate ListVal::ConvertToSet(), add ListVal::ToSetVal()
This commit is contained in:
parent
2cfbbd8cdb
commit
df65d1e829
4 changed files with 15 additions and 12 deletions
|
@ -644,6 +644,9 @@ public:
|
|||
void Append(Val* v);
|
||||
|
||||
// Returns a Set representation of the list (which must be homogeneous).
|
||||
IntrusivePtr<TableVal> ToSetVal() const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use ToSetVal() instead.")]]
|
||||
TableVal* ConvertToSet() const;
|
||||
|
||||
const val_list* Vals() const { return &vals; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue