mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Deprecate ID::AsType(), add ID::IsType() and ID::GetType()
This commit is contained in:
parent
f26904e031
commit
6e647416d5
10 changed files with 32 additions and 22 deletions
|
@ -274,7 +274,7 @@ void Manager::StartType(IntrusivePtr<ID> id)
|
|||
|
||||
static bool IsEnumType(ID* id)
|
||||
{
|
||||
return id->AsType() ? id->AsType()->Tag() == TYPE_ENUM : false;
|
||||
return id->IsType() ? id->Type()->Tag() == TYPE_ENUM : false;
|
||||
}
|
||||
|
||||
void Manager::Identifier(IntrusivePtr<ID> id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue