mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Use IntrusivePtr in TableVal::CallExpireFunc
This commit is contained in:
parent
7a4ce9fb51
commit
0b5a18495d
2 changed files with 6 additions and 20 deletions
|
@ -851,8 +851,7 @@ protected:
|
|||
double GetExpireTime();
|
||||
|
||||
// Calls &expire_func and returns its return interval;
|
||||
// takes ownership of the reference.
|
||||
double CallExpireFunc(Val *idx);
|
||||
double CallExpireFunc(IntrusivePtr<Val> idx);
|
||||
|
||||
// Enum for the different kinds of changes an &on_change handler can see
|
||||
enum OnChangeType { ELEMENT_NEW, ELEMENT_CHANGED, ELEMENT_REMOVED, ELEMENT_EXPIRED };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue