mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Clean up new code.
This commit is contained in:
parent
7bd738865c
commit
6adab8d46a
5 changed files with 94 additions and 63 deletions
|
@ -404,7 +404,7 @@ void Trigger::UnregisterAll()
|
|||
{
|
||||
DBG_LOG(DBG_NOTIFIERS, "%s: unregistering all", Name());
|
||||
|
||||
for ( auto o : objs )
|
||||
for ( const auto& o : objs )
|
||||
{
|
||||
notifier::registry.Unregister(o.second, this);
|
||||
Unref(o.first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue