From b0deae79d8bae5051a85dc15e43e7b83bc8cf9ab Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Tue, 7 Aug 2012 18:38:49 +0000 Subject: 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) --- src/util/predicate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/util/predicate.h') 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 */ -- cgit v1.2.3