summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hash.h b/src/hash.h
index e819379..a21d651 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -641,7 +641,8 @@ protected:
641 // Delete all of the old data 641 // Delete all of the old data
642 for( uint32_t j = 0; j < nOldCapacity; j++ ) 642 for( uint32_t j = 0; j < nOldCapacity; j++ )
643 { 643 {
644 if( (bOldFilled[j/32]&(1<<(j%32)))!=0 ) 644 if( (bOldFilled[j/32]&(1<<(j%32)))!=0 &&
645 (bOldDeleted[j/32]&(1<<(j%32)))==0 )
645 { 646 {
646 va.destroy( &aOldValues[j] ); 647 va.destroy( &aOldValues[j] );
647 ka.destroy( &aOldKeys[j] ); 648 ka.destroy( &aOldKeys[j] );