3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

remove dependency on hash_compare

This commit is contained in:
Nikolaj Bjorner 2022-11-09 09:06:34 -08:00
parent 8da13ae24a
commit 15be80c954

View file

@ -26,8 +26,8 @@ Revision History:
struct int_hash_proc { unsigned operator()(int x) const { return x * 3; } }; struct int_hash_proc { unsigned operator()(int x) const { return x * 3; } };
typedef int_hashtable<int_hash_proc, default_eq<int> > int_set; typedef int_hashtable<int_hash_proc, default_eq<int> > int_set;
typedef std::unordered_set<int, std::hash_compare<int, std::less<int> > > safe_int_set;
// typedef safe_int_set int_set; // typedef safe_int_set int_set;
typedef std::unordered_set<int> safe_int_set;
inline bool contains(int_set & h, int i) { inline bool contains(int_set & h, int i) {
// return h.find(i) != h.end(); // return h.find(i) != h.end();