mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Add deprecated version of EnumType::GetVal() to returns EnumVal*, rename IntrusivePtr version to GetEnumVal
This commit is contained in:
parent
fd8db24daf
commit
118605f4ac
24 changed files with 90 additions and 85 deletions
|
@ -762,7 +762,7 @@ const char* CompositeHash::RecoverOneVal(
|
|||
kp1 = reinterpret_cast<const char*>(kp+1);
|
||||
|
||||
if ( tag == zeek::TYPE_ENUM )
|
||||
*pval = t->AsEnumType()->GetVal(*kp);
|
||||
*pval = t->AsEnumType()->GetEnumVal(*kp);
|
||||
else if ( tag == zeek::TYPE_BOOL )
|
||||
*pval = zeek::val_mgr->Bool(*kp);
|
||||
else if ( tag == zeek::TYPE_INT )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue