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/prop/skolem_def_manager.h | |
parent | ffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff) |
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/prop/skolem_def_manager.h')
-rw-r--r-- | src/prop/skolem_def_manager.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/prop/skolem_def_manager.h b/src/prop/skolem_def_manager.h index 475f40c85..d3b59f895 100644 --- a/src/prop/skolem_def_manager.h +++ b/src/prop/skolem_def_manager.h @@ -41,8 +41,8 @@ namespace prop { */ class SkolemDefManager { - using NodeNodeMap = context::CDInsertHashMap<Node, Node, NodeHashFunction>; - using NodeSet = context::CDHashSet<Node, NodeHashFunction>; + using NodeNodeMap = context::CDInsertHashMap<Node, Node>; + using NodeSet = context::CDHashSet<Node>; public: SkolemDefManager(context::Context* context, @@ -81,8 +81,7 @@ class SkolemDefManager * @param n The node to traverse * @param skolems The set where the skolems are added */ - void getSkolems(TNode n, - std::unordered_set<Node, NodeHashFunction>& skolems) const; + void getSkolems(TNode n, std::unordered_set<Node>& skolems) const; /** Does n have skolems having definitions managed by this class? */ bool hasSkolems(TNode n) const; |