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/smt/preprocessor.cpp | |
parent | ffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff) |
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/smt/preprocessor.cpp')
-rw-r--r-- | src/smt/preprocessor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smt/preprocessor.cpp b/src/smt/preprocessor.cpp index a222568d3..7406b922e 100644 --- a/src/smt/preprocessor.cpp +++ b/src/smt/preprocessor.cpp @@ -112,12 +112,12 @@ void Preprocessor::cleanup() { d_processor.cleanup(); } Node Preprocessor::expandDefinitions(const Node& n) { - std::unordered_map<Node, Node, NodeHashFunction> cache; + std::unordered_map<Node, Node> cache; return expandDefinitions(n, cache); } -Node Preprocessor::expandDefinitions( - const Node& node, std::unordered_map<Node, Node, NodeHashFunction>& cache) +Node Preprocessor::expandDefinitions(const Node& node, + std::unordered_map<Node, Node>& cache) { Trace("smt") << "SMT expandDefinitions(" << node << ")" << endl; // Substitute out any abstract values in node. |