Skip to content

Commit

Permalink
remove dependency on hash_compare
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 9, 2022
1 parent 8da13ae commit 15be80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/hashtable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Revision History:

struct int_hash_proc { unsigned operator()(int x) const { return x * 3; } };
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 std::unordered_set<int> safe_int_set;

inline bool contains(int_set & h, int i) {
// return h.find(i) != h.end();
Expand Down

0 comments on commit 15be80c

Please sign in to comment.