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/theory_model.h | |
parent | ffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff) |
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/theory/theory_model.h')
-rw-r--r-- | src/theory/theory_model.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/theory_model.h b/src/theory/theory_model.h index ab66e8fe7..951a62cae 100644 --- a/src/theory/theory_model.h +++ b/src/theory/theory_model.h @@ -398,7 +398,7 @@ class TheoryModel /** are we using model cores? */ bool d_using_model_core; /** symbols that are in the model core */ - std::unordered_set<Node, NodeHashFunction> d_model_core; + std::unordered_set<Node> d_model_core; /** Get model value function. * * This function is a helper function for getValue. @@ -414,7 +414,7 @@ class TheoryModel virtual void addTermInternal(TNode n); private: /** cache for getModelValue */ - mutable std::unordered_map<Node, Node, NodeHashFunction> d_modelCache; + mutable std::unordered_map<Node, Node> d_modelCache; //---------------------------- separation logic /** the value of the heap */ |