mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Switch a TableVal::CallChangeFunc param to IntrusivePtr
This commit is contained in:
parent
9798c4b763
commit
adb9d2881c
2 changed files with 11 additions and 8 deletions
|
@ -1017,7 +1017,8 @@ protected:
|
|||
enum OnChangeType { ELEMENT_NEW, ELEMENT_CHANGED, ELEMENT_REMOVED, ELEMENT_EXPIRED };
|
||||
|
||||
// Calls &change_func. Does not take ownership of values. (Refs if needed).
|
||||
void CallChangeFunc(const Val* index, Val* old_value, OnChangeType tpe);
|
||||
void CallChangeFunc(const Val* index, const IntrusivePtr<Val>& old_value,
|
||||
OnChangeType tpe);
|
||||
|
||||
IntrusivePtr<Val> DoClone(CloneState* state) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue