mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Deprecate HOOK_BRO_OBJ_DTOR and related methods
This commit is contained in:
parent
4d4c6280e9
commit
1496b99a34
9 changed files with 112 additions and 15 deletions
|
@ -60,7 +60,13 @@ int Obj::suppress_errors = 0;
|
|||
Obj::~Obj()
|
||||
{
|
||||
if ( notify_plugins )
|
||||
{
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
PLUGIN_HOOK_VOID(HOOK_BRO_OBJ_DTOR, HookBroObjDtor(this));
|
||||
#pragma GCC diagnostic pop
|
||||
PLUGIN_HOOK_VOID(HOOK_OBJ_DTOR, HookObjDtor(this));
|
||||
}
|
||||
|
||||
delete location;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue