mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Deprecate file analyzer construction methods taking raw RecordVal*
Replaced with versions that instead take IntrusivePtr
This commit is contained in:
parent
ecb7c7c27e
commit
57a6069cd1
26 changed files with 164 additions and 79 deletions
|
@ -13,6 +13,15 @@ Component::Component(const std::string& name, factory_callback arg_factory, Tag:
|
|||
plugin::TaggedComponent<file_analysis::Tag>(subtype)
|
||||
{
|
||||
factory = arg_factory;
|
||||
factory_func = nullptr;
|
||||
}
|
||||
|
||||
Component::Component(const std::string& name, factory_function arg_factory, Tag::subtype_t subtype)
|
||||
: plugin::Component(plugin::component::FILE_ANALYZER, name),
|
||||
plugin::TaggedComponent<file_analysis::Tag>(subtype)
|
||||
{
|
||||
factory = nullptr;
|
||||
factory_func = arg_factory;
|
||||
}
|
||||
|
||||
void Component::Initialize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue