mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Deprecate init_class and IDScope in another way.
This also renamed init_class to InitClass for consistency.
This commit is contained in:
parent
361ad8f2f7
commit
7ee8e11a8f
9 changed files with 50 additions and 68 deletions
|
@ -338,7 +338,7 @@ void Manager::Identifier(IntrusivePtr<zeek::detail::ID> id)
|
|||
}
|
||||
|
||||
void Manager::RecordField(const zeek::detail::ID* id, const zeek::TypeDecl* field,
|
||||
const string& path)
|
||||
const string& path)
|
||||
{
|
||||
if ( disabled )
|
||||
return;
|
||||
|
@ -361,7 +361,7 @@ void Manager::RecordField(const zeek::detail::ID* id, const zeek::TypeDecl* fiel
|
|||
}
|
||||
|
||||
void Manager::Redef(const zeek::detail::ID* id, const string& path,
|
||||
zeek::detail::init_class ic, IntrusivePtr<zeek::detail::Expr> init_expr)
|
||||
zeek::detail::InitClass ic, IntrusivePtr<zeek::detail::Expr> init_expr)
|
||||
{
|
||||
if ( disabled )
|
||||
return;
|
||||
|
@ -398,7 +398,7 @@ void Manager::Redef(const zeek::detail::ID* id, const string& path,
|
|||
}
|
||||
|
||||
void Manager::Redef(const zeek::detail::ID* id, const std::string& path,
|
||||
zeek::detail::init_class ic)
|
||||
zeek::detail::InitClass ic)
|
||||
{
|
||||
Redef(id, path, ic, nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue