aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-03-21 17:52:09 +0000
committerMike Buland <eichlan@xagasoft.com>2007-03-21 17:52:09 +0000
commit759aca25caaaf9a2b22297c4336f12c002d2faac (patch)
tree544f5db04b38711efc4991ce3babb582e28500f6 /src/hash.h
parentba6b756e8df15e4dcd2f948c91f073f99260f23a (diff)
downloadlibbu++-759aca25caaaf9a2b22297c4336f12c002d2faac.tar.gz
libbu++-759aca25caaaf9a2b22297c4336f12c002d2faac.tar.bz2
libbu++-759aca25caaaf9a2b22297c4336f12c002d2faac.tar.xz
libbu++-759aca25caaaf9a2b22297c4336f12c002d2faac.zip
Fixed an infinite loop rehashing in the has function...whacky
Diffstat (limited to '')
-rw-r--r--src/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.h b/src/hash.h
index 81b472f..aa02960 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -350,7 +350,7 @@ public:
350 virtual bool has( key k ) 350 virtual bool has( key k )
351 { 351 {
352 bool bFill; 352 bool bFill;
353 probe( __calcHashCode( k ), k, bFill ); 353 probe( __calcHashCode( k ), k, bFill, false );
354 354
355 return bFill; 355 return bFill;
356 } 356 }