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/predicate.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/predicate.h')
-rw-r--r-- | src/util/predicate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/predicate.h b/src/util/predicate.h index 94a685177..18e0b8b70 100644 --- a/src/util/predicate.h +++ b/src/util/predicate.h @@ -31,9 +31,9 @@ class Predicate; std::ostream& operator<<(std::ostream& out, const Predicate& p) CVC4_PUBLIC; -struct CVC4_PUBLIC PredicateHashStrategy { - static size_t hash(const Predicate& p); -};/* class PredicateHashStrategy */ +struct CVC4_PUBLIC PredicateHashFunction { + size_t operator()(const Predicate& p) const; +};/* class PredicateHashFunction */ }/* CVC4 namespace */ @@ -55,7 +55,7 @@ public: bool operator==(const Predicate& p) const; friend std::ostream& operator<<(std::ostream& out, const Predicate& p); - friend size_t PredicateHashStrategy::hash(const Predicate& p); + friend size_t PredicateHashFunction::operator()(const Predicate& p) const; };/* class Predicate */ |