summaryrefslogtreecommitdiff
path: root/src/util/bool.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-08-07 18:38:49 +0000
committerMorgan Deters <mdeters@gmail.com>2012-08-07 18:38:49 +0000
commitb0deae79d8bae5051a85dc15e43e7b83bc8cf9ab (patch)
treed73fa7f9fb37077853f824dcecd2a1b8e4d22837 /src/util/bool.h
parentea5acaba821790dd240db779f2340fbe5fce0b8e (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/bool.h')
-rw-r--r--src/util/bool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/bool.h b/src/util/bool.h
index a4d33ca61..9985395e3 100644
--- a/src/util/bool.h
+++ b/src/util/bool.h
@@ -29,11 +29,11 @@
namespace CVC4 {
-struct BoolHashStrategy {
- static inline size_t hash(bool b) {
+struct BoolHashFunction {
+ inline size_t operator()(bool b) const {
return b;
}
-};/* struct BoolHashStrategy */
+};/* struct BoolHashFunction */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback