mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Deprecate Scope::Lookup(), replace with Scope::Find()
This commit is contained in:
parent
a5762c12cc
commit
8f95a2a0bb
27 changed files with 65 additions and 72 deletions
|
@ -371,7 +371,7 @@ void Val::ValDescribeReST(ODesc* d) const
|
|||
#ifdef DEBUG
|
||||
ID* Val::GetID() const
|
||||
{
|
||||
return bound_id ? global_scope()->Lookup(bound_id) : nullptr;
|
||||
return bound_id ? global_scope()->Find(bound_id).get() : nullptr;
|
||||
}
|
||||
|
||||
void Val::SetID(ID* id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue