diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2021-05-12 23:33:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 06:33:00 +0000 |
commit | 31242de4b423d7225174dd1672edb2dacb68f5b8 (patch) | |
tree | 657a453475affc67628b1391909af92f3346b411 /src/preprocessing/passes/bool_to_bv.h | |
parent | ffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff) |
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/preprocessing/passes/bool_to_bv.h')
-rw-r--r-- | src/preprocessing/passes/bool_to_bv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preprocessing/passes/bool_to_bv.h b/src/preprocessing/passes/bool_to_bv.h index 210c4e5cd..0bef7c6b5 100644 --- a/src/preprocessing/passes/bool_to_bv.h +++ b/src/preprocessing/passes/bool_to_bv.h @@ -108,12 +108,12 @@ class BoolToBV : public PreprocessingPass Note: it only keeps mappings for ITEs of type bit-vector. Other ITEs will be in the d_lowerCache */ - std::unordered_map<Node, Node, NodeHashFunction> d_iteBVLowerCache; + std::unordered_map<Node, Node> d_iteBVLowerCache; /** Keeps track of other lowered nodes -- will be cleared periodically in ITE mode */ - std::unordered_map<Node, Node, NodeHashFunction> d_lowerCache; + std::unordered_map<Node, Node> d_lowerCache; /** Stores the bool-to-bv mode option */ options::BoolToBVMode d_boolToBVMode; |