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/nl_ext_purify.cpp | |
parent | ffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff) |
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/preprocessing/passes/nl_ext_purify.cpp')
-rw-r--r-- | src/preprocessing/passes/nl_ext_purify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preprocessing/passes/nl_ext_purify.cpp b/src/preprocessing/passes/nl_ext_purify.cpp index bb32e7ba2..afd21fb7a 100644 --- a/src/preprocessing/passes/nl_ext_purify.cpp +++ b/src/preprocessing/passes/nl_ext_purify.cpp @@ -116,8 +116,8 @@ NlExtPurify::NlExtPurify(PreprocessingPassContext* preprocContext) PreprocessingPassResult NlExtPurify::applyInternal( AssertionPipeline* assertionsToPreprocess) { - unordered_map<Node, Node, NodeHashFunction> cache; - unordered_map<Node, Node, NodeHashFunction> bcache; + unordered_map<Node, Node> cache; + unordered_map<Node, Node> bcache; std::vector<Node> var_eq; unsigned size = assertionsToPreprocess->size(); for (unsigned i = 0; i < size; ++i) |