Replace uses of the old Dict generation code with new template versions

This commit is contained in:
Tim Wojtulewicz 2019-07-02 18:55:55 -07:00 committed by Jon Siwek
parent e2feec52be
commit 50943a580c
26 changed files with 62 additions and 94 deletions

View file

@ -17,8 +17,6 @@
class StmtList;
class ForStmt;
declare(PDict, int);
class Stmt : public BroObj {
public:
BroStmtTag Tag() const { return tag; }
@ -237,7 +235,7 @@ protected:
case_list* cases;
int default_case_idx;
CompositeHash* comp_hash;
PDict(int) case_label_value_map;
PDict<int> case_label_value_map;
std::vector<std::pair<ID*, int>> case_label_type_list;
};