mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Deprecate Frame::GetElement(ID*), replace with GetElementByID()
This commit is contained in:
parent
1ccbe743d0
commit
9f4eca081f
3 changed files with 13 additions and 6 deletions
|
@ -239,7 +239,7 @@ IntrusivePtr<Val> NameExpr::Eval(Frame* f) const
|
|||
v = id->GetVal();
|
||||
|
||||
else if ( f )
|
||||
v = {NewRef{}, f->GetElement(id.get())};
|
||||
v = f->GetElementByID(id);
|
||||
|
||||
else
|
||||
// No frame - evaluating for Simplify() purposes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue