aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-24 23:49:50 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-24 23:49:50 +0000
commit2828a0bb77e2cf1bc6fbd38c3bca5cfaddb23b80 (patch)
treea86bc88b7bcd8e6c138353be03fd7045f245ca38 /src/hash.h
parent4b61df8396593f40148a1815478513f95a86d59a (diff)
downloadlibbu++-2828a0bb77e2cf1bc6fbd38c3bca5cfaddb23b80.tar.gz
libbu++-2828a0bb77e2cf1bc6fbd38c3bca5cfaddb23b80.tar.bz2
libbu++-2828a0bb77e2cf1bc6fbd38c3bca5cfaddb23b80.tar.xz
libbu++-2828a0bb77e2cf1bc6fbd38c3bca5cfaddb23b80.zip
Fixed size bug.
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
index d847add..d53e2be 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -461,6 +461,8 @@ private:
461 aKeys = ka.allocate( nCapacity ); 461 aKeys = ka.allocate( nCapacity );
462 aValues = va.allocate( nCapacity ); 462 aValues = va.allocate( nCapacity );
463 463
464 nFilled = 0;
465
464 // Re-insert all of the old data (except deleted items) 466 // Re-insert all of the old data (except deleted items)
465 for( uint32_t j = 0; j < nOldCapacity; j++ ) 467 for( uint32_t j = 0; j < nOldCapacity; j++ )
466 { 468 {