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/theory/quantifiers/skolemize.h | |
parent | ffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff) |
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/theory/quantifiers/skolemize.h')
-rw-r--r-- | src/theory/quantifiers/skolemize.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/theory/quantifiers/skolemize.h b/src/theory/quantifiers/skolemize.h index 412f7a069..2a09913a9 100644 --- a/src/theory/quantifiers/skolemize.h +++ b/src/theory/quantifiers/skolemize.h @@ -65,7 +65,7 @@ class TermRegistry; */ class Skolemize { - typedef context::CDHashMap<Node, Node, NodeHashFunction> NodeNodeMap; + typedef context::CDHashMap<Node, Node> NodeNodeMap; public: Skolemize(QuantifiersState& qs, TermRegistry& tr, ProofNodeManager* pnm); @@ -146,10 +146,9 @@ class Skolemize /** quantified formulas that have been skolemized */ NodeNodeMap d_skolemized; /** map from quantified formulas to the list of skolem constants */ - std::unordered_map<Node, std::vector<Node>, NodeHashFunction> - d_skolem_constants; + std::unordered_map<Node, std::vector<Node>> d_skolem_constants; /** map from quantified formulas to their skolemized body */ - std::unordered_map<Node, Node, NodeHashFunction> d_skolem_body; + std::unordered_map<Node, Node> d_skolem_body; /** Pointer to the proof node manager */ ProofNodeManager* d_pnm; /** Eager proof generator for skolemization lemmas */ |