mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Deprecate plugin::HookType and plugin::component::Type in a different way
This commit is contained in:
parent
7ee8e11a8f
commit
b1b1ec5171
8 changed files with 65 additions and 233 deletions
|
@ -17,14 +17,6 @@ Component::Component(zeek::plugin::component::Type type, const std::string& name
|
|||
{
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
Component::Component(plugin::component::Type type, const std::string& name)
|
||||
: plugin::Component(static_cast<zeek::plugin::component::Type>(type), name)
|
||||
{
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
Component::~Component()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue