diff options
Diffstat (limited to 'src/util/integer_gmp_imp.h')
-rw-r--r-- | src/util/integer_gmp_imp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/integer_gmp_imp.h b/src/util/integer_gmp_imp.h index dfd6c0599..ea7967023 100644 --- a/src/util/integer_gmp_imp.h +++ b/src/util/integer_gmp_imp.h @@ -418,11 +418,11 @@ public: friend class CVC4::Rational; };/* class Integer */ -struct IntegerHashStrategy { - static inline size_t hash(const CVC4::Integer& i) { +struct IntegerHashFunction { + inline size_t operator()(const CVC4::Integer& i) const { return i.hash(); } -};/* struct IntegerHashStrategy */ +};/* struct IntegerHashFunction */ inline std::ostream& operator<<(std::ostream& os, const Integer& n) { return os << n.toString(); |