mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48: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
2
src/ID.h
2
src/ID.h
|
@ -165,7 +165,7 @@ namespace zeek { namespace id {
|
|||
* @return The identifier, which may reference a nil object if no such
|
||||
* name exists.
|
||||
*/
|
||||
IntrusivePtr<ID> lookup(const char* name);
|
||||
const IntrusivePtr<ID>& lookup(const char* name);
|
||||
|
||||
/**
|
||||
* Lookup an ID by its name and return its type. A fatal occurs if the ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue