summaryrefslogtreecommitdiff
path: root/src/prop/cnf_stream.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-05-12 23:33:00 -0700
committerGitHub <noreply@github.com>2021-05-13 06:33:00 +0000
commit31242de4b423d7225174dd1672edb2dacb68f5b8 (patch)
tree657a453475affc67628b1391909af92f3346b411 /src/prop/cnf_stream.h
parentffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff)
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/prop/cnf_stream.h')
-rw-r--r--src/prop/cnf_stream.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/prop/cnf_stream.h b/src/prop/cnf_stream.h
index 2d0b83c33..9901fb18b 100644
--- a/src/prop/cnf_stream.h
+++ b/src/prop/cnf_stream.h
@@ -75,8 +75,7 @@ class CnfStream {
LiteralToNodeMap;
/** Cache of what literals have been registered to a node. */
- typedef context::CDInsertHashMap<Node, SatLiteral, NodeHashFunction>
- NodeToLiteralMap;
+ typedef context::CDInsertHashMap<Node, SatLiteral> NodeToLiteralMap;
/**
* Constructs a CnfStream that performs equisatisfiable CNF transformations
@@ -223,7 +222,7 @@ class CnfStream {
context::CDList<TNode> d_booleanVariables;
/** Formulas that we translated that we are notifying */
- context::CDHashSet<Node, NodeHashFunction> d_notifyFormulas;
+ context::CDHashSet<Node> d_notifyFormulas;
/** Map from nodes to literals */
NodeToLiteralMap d_nodeToLiteralMap;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback