mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Deprecate ID::ID_Val(), replace with ID::GetVal()
This commit is contained in:
parent
16a8bf3318
commit
32b895f4ba
23 changed files with 69 additions and 68 deletions
|
@ -1184,7 +1184,7 @@ WriterFrontend* Manager::CreateWriter(EnumVal* id, EnumVal* writer, WriterBacken
|
|||
{
|
||||
ID* id = global_scope()->Lookup("Log::default_rotation_interval");
|
||||
assert(id);
|
||||
winfo->interval = id->ID_Val()->AsInterval();
|
||||
winfo->interval = id->GetVal()->AsInterval();
|
||||
}
|
||||
|
||||
stream->writers.insert(
|
||||
|
@ -1527,7 +1527,7 @@ bool Manager::FinishedRotation(WriterFrontend* writer, const char* new_name, con
|
|||
{
|
||||
ID* id = global_scope()->Lookup("Log::__default_rotation_postprocessor");
|
||||
assert(id);
|
||||
func = id->ID_Val()->AsFunc();
|
||||
func = id->GetVal()->AsFunc();
|
||||
}
|
||||
|
||||
assert(func);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue