diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-08-07 18:38:49 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-08-07 18:38:49 +0000 |
commit | b0deae79d8bae5051a85dc15e43e7b83bc8cf9ab (patch) | |
tree | d73fa7f9fb37077853f824dcecd2a1b8e4d22837 /src/util/rational_gmp_imp.h | |
parent | ea5acaba821790dd240db779f2340fbe5fce0b8e (diff) |
Some items from the CVC4 public interface review:
* rename DeclarationScope to SymbolTable
* rename all HashStrategy -> HashFunction (which we often have anyways)
* remove CDCircList (no one is currently using it)
Diffstat (limited to 'src/util/rational_gmp_imp.h')
-rw-r--r-- | src/util/rational_gmp_imp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/rational_gmp_imp.h b/src/util/rational_gmp_imp.h index ed9c57a80..22f1e91b2 100644 --- a/src/util/rational_gmp_imp.h +++ b/src/util/rational_gmp_imp.h @@ -296,11 +296,11 @@ public: };/* class Rational */ -struct RationalHashStrategy { - static inline size_t hash(const CVC4::Rational& r) { +struct RationalHashFunction { + inline size_t operator()(const CVC4::Rational& r) const { return r.hash(); } -};/* struct RationalHashStrategy */ +};/* struct RationalHashFunction */ CVC4_PUBLIC std::ostream& operator<<(std::ostream& os, const Rational& n); |