harvester/common/inc/harvestdata.inl
branchCompilerCompatibility
changeset 13 16369ba02293
parent 8 6752808b2036
child 40 910a23996aa0
--- a/harvester/common/inc/harvestdata.inl	Mon Mar 08 21:43:59 2010 +0000
+++ b/harvester/common/inc/harvestdata.inl	Sun Mar 14 12:49:29 2010 +0000
@@ -101,6 +101,21 @@
     iMdeObjectArray.Remove( aIndex );
     iLocationArray.Remove( aIndex );
     iQueryArray.Remove( aIndex );
+    
+    if( iMdeObjectArray.Count() == 0 )
+        {
+        iMdeObjectArray.Compress();
+        }
+
+    if( iLocationArray.Count() == 0 )
+        {
+        iLocationArray.Compress();
+        }
+
+    if( iQueryArray.Count() == 0 )
+        {
+        iQueryArray.Compress();
+        }    
     }
 
 // ---------------------------------------------------------------------------