diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-03-21 17:52:09 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-03-21 17:52:09 +0000 |
commit | 759aca25caaaf9a2b22297c4336f12c002d2faac (patch) | |
tree | 544f5db04b38711efc4991ce3babb582e28500f6 /src/hash.h | |
parent | ba6b756e8df15e4dcd2f948c91f073f99260f23a (diff) | |
download | libbu++-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | } |