mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Val: TableVal::Delete() returns IntrusivePtr
This commit is contained in:
parent
6495193aae
commit
d2961c72e1
4 changed files with 10 additions and 12 deletions
|
@ -769,8 +769,8 @@ public:
|
|||
ListVal* RecoverIndex(const HashKey* k) const;
|
||||
|
||||
// Returns the element if it was in the table, false otherwise.
|
||||
Val* Delete(const Val* index);
|
||||
Val* Delete(const HashKey* k);
|
||||
IntrusivePtr<Val> Delete(const Val* index);
|
||||
IntrusivePtr<Val> Delete(const HashKey* k);
|
||||
|
||||
// Returns a ListVal representation of the table (which must be a set).
|
||||
ListVal* ConvertToList(TypeTag t=TYPE_ANY) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue