mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Deprecate file_analysis::Analyzer::Args(), replace with GetArgs()
This commit is contained in:
parent
faa4738807
commit
ecb7c7c27e
4 changed files with 14 additions and 10 deletions
|
@ -10,7 +10,6 @@ file_analysis::Analyzer::~Analyzer()
|
|||
{
|
||||
DBG_LOG(DBG_FILE_ANALYSIS, "Destroy file analyzer %s",
|
||||
file_mgr->GetComponentName(tag).c_str());
|
||||
Unref(args);
|
||||
}
|
||||
|
||||
void file_analysis::Analyzer::SetAnalyzerTag(const file_analysis::Tag& arg_tag)
|
||||
|
@ -21,7 +20,7 @@ void file_analysis::Analyzer::SetAnalyzerTag(const file_analysis::Tag& arg_tag)
|
|||
|
||||
file_analysis::Analyzer::Analyzer(file_analysis::Tag arg_tag, RecordVal* arg_args, File* arg_file)
|
||||
: tag(arg_tag),
|
||||
args(arg_args->Ref()->AsRecordVal()),
|
||||
args({NewRef{}, arg_args}),
|
||||
file(arg_file),
|
||||
got_stream_delivery(false),
|
||||
skip(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue