mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Cleanups related to PDict -> std::map replacements
This commit is contained in:
parent
e6558d1f19
commit
87f85ecca1
18 changed files with 41 additions and 36 deletions
|
@ -75,10 +75,10 @@ public:
|
|||
~DFA_State_Cache();
|
||||
|
||||
// If the caller stores the handle, it has to call Ref() on it.
|
||||
DFA_State* Lookup(const NFA_state_list& nfa_states, DigestStr& digest);
|
||||
DFA_State* Lookup(const NFA_state_list& nfa_states, DigestStr* digest);
|
||||
|
||||
// Takes ownership of both; hash is the one returned by Lookup().
|
||||
DFA_State* Insert(DFA_State* state, const DigestStr& digest);
|
||||
// Takes ownership of state; digest is the one returned by Lookup().
|
||||
DFA_State* Insert(DFA_State* state, DigestStr digest);
|
||||
|
||||
int NumEntries() const { return states.size(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue