mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Replace uses of the old Dict generation code with new template versions
This commit is contained in:
parent
e2feec52be
commit
50943a580c
26 changed files with 62 additions and 94 deletions
|
@ -19,7 +19,7 @@ Scope::Scope(ID* id, attr_list* al)
|
|||
attrs = al;
|
||||
return_type = 0;
|
||||
|
||||
local = new PDict(ID)(ORDERED);
|
||||
local = new PDict<ID>(ORDERED);
|
||||
inits = new id_list;
|
||||
|
||||
if ( id )
|
||||
|
@ -108,7 +108,7 @@ void Scope::Describe(ODesc* d) const
|
|||
|
||||
TraversalCode Scope::Traverse(TraversalCallback* cb) const
|
||||
{
|
||||
PDict(ID)* ids = GetIDs();
|
||||
PDict<ID>* ids = GetIDs();
|
||||
IterCookie* iter = ids->InitForIteration();
|
||||
|
||||
HashKey* key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue