mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Mark global val_mgr as deprecated and fix uses of it to use namespaced version
This commit is contained in:
parent
3098dd6fbb
commit
86fdf0eaa9
134 changed files with 1579 additions and 1580 deletions
|
@ -736,7 +736,7 @@ bool Manager::Write(zeek::EnumVal* id, zeek::RecordVal* columns_arg)
|
|||
if ( filter->path_val )
|
||||
path_arg = {zeek::NewRef{}, filter->path_val};
|
||||
else
|
||||
path_arg = val_mgr->EmptyString();
|
||||
path_arg = zeek::val_mgr->EmptyString();
|
||||
|
||||
zeek::ValPtr rec_arg;
|
||||
const auto& rt = filter->path_func->GetType()->Params()->GetFieldType("rec");
|
||||
|
@ -1515,7 +1515,7 @@ bool Manager::FinishedRotation(WriterFrontend* writer, const char* new_name, con
|
|||
info->Assign(2, zeek::make_intrusive<zeek::StringVal>(winfo->writer->Info().path));
|
||||
info->Assign(3, zeek::make_intrusive<zeek::TimeVal>(open));
|
||||
info->Assign(4, zeek::make_intrusive<zeek::TimeVal>(close));
|
||||
info->Assign(5, val_mgr->Bool(terminating));
|
||||
info->Assign(5, zeek::val_mgr->Bool(terminating));
|
||||
|
||||
zeek::detail::Func* func = winfo->postprocessor;
|
||||
if ( ! func )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue