From 1a93511936a87715115f968a94841ca3b502c858 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 26 Sep 2007 09:10:29 +0000 Subject: Fixed a bug that allowed Bu::Hash::get() to rehash, this has been corrected, the get function can no longer change the Hash in any way. --- src/hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hash.h b/src/hash.h index 2859758..4f508b2 100644 --- a/src/hash.h +++ b/src/hash.h @@ -426,7 +426,7 @@ namespace Bu { uint32_t hash = __calcHashCode( k ); bool bFill; - uint32_t nPos = probe( hash, k, bFill ); + uint32_t nPos = probe( hash, k, bFill, false ); if( bFill ) { @@ -451,7 +451,7 @@ namespace Bu { uint32_t hash = __calcHashCode( k ); bool bFill; - uint32_t nPos = probe( hash, k, bFill ); + uint32_t nPos = probe( hash, k, bFill, false ); if( bFill ) { -- cgit v1.2.3