aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/comb4p
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:59:43 +0000
committerlloyd <[email protected]>2010-10-13 02:59:43 +0000
commit61ed0d4d90164675396feb7c7cecdd3bc5012f91 (patch)
tree31f48086086c78c6f0ce5fd533d819c8463be822 /src/hash/comb4p
parent3697dcff8b5e9765b41114281ce10e7ed3d3abb4 (diff)
Remove most uses of HASH_BLOCK_SIZE
Diffstat (limited to 'src/hash/comb4p')
-rw-r--r--src/hash/comb4p/comb4p.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/comb4p/comb4p.cpp b/src/hash/comb4p/comb4p.cpp
index c4cd1cc79..5e336e98b 100644
--- a/src/hash/comb4p/comb4p.cpp
+++ b/src/hash/comb4p/comb4p.cpp
@@ -16,8 +16,8 @@ namespace {
size_t comb4p_block_size(const HashFunction* h1,
const HashFunction* h2)
{
- if(h1->HASH_BLOCK_SIZE == h2->HASH_BLOCK_SIZE)
- return h1->HASH_BLOCK_SIZE;
+ if(h1->hash_block_size() == h2->hash_block_size())
+ return h1->hash_block_size();
/*
* Return LCM of the block sizes? This would probably be OK for