mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Redo API for notifiers.
There's now an notifier::Modifiable interface class that class supposed to signal modifications are to be derived from. This takes the place of the former MutableValue class and also unifies how Val and IDs signal modifications.
This commit is contained in:
parent
f8262b65c4
commit
062a1ee6b3
8 changed files with 126 additions and 163 deletions
|
@ -66,7 +66,7 @@ void ID::SetVal(Val* v, bool arg_weak_ref)
|
|||
|
||||
val = v;
|
||||
weak_ref = arg_weak_ref;
|
||||
notifiers.Modified(this);
|
||||
Modified();
|
||||
|
||||
#ifdef DEBUG
|
||||
UpdateValID();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue