Add deprecated version of EnumType::GetVal() to returns EnumVal*, rename IntrusivePtr version to GetEnumVal

This commit is contained in:
Tim Wojtulewicz 2020-07-15 14:56:05 -07:00
parent fd8db24daf
commit 118605f4ac
24 changed files with 90 additions and 85 deletions

View file

@ -1353,7 +1353,7 @@ void Manager::ProcessError(broker::error err)
}
mgr.Enqueue(Broker::error,
zeek::BifType::Enum::Broker::ErrorCode->GetVal(ec),
zeek::BifType::Enum::Broker::ErrorCode->GetEnumVal(ec),
zeek::make_intrusive<zeek::StringVal>(msg)
);
}