mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove EventRegistry::Used and EventRegistry::SetUsed
This commit is contained in:
parent
97fa7cdc0a
commit
e2b03681d1
11 changed files with 6 additions and 111 deletions
|
@ -417,13 +417,8 @@ static void use_CPP() {
|
|||
f.SetBody(b);
|
||||
}
|
||||
|
||||
for ( auto& e : s->second.events ) {
|
||||
auto h = event_registry->Register(e);
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
h->SetUsed();
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
for ( auto& e : s->second.events )
|
||||
event_registry->Register(e);
|
||||
|
||||
auto finish = s->second.finish_init_func;
|
||||
if ( finish )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue