[geos-commits] r2104 - trunk/source/noding

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Jan 3 16:11:19 EST 2008


Author: benjubb
Date: 2008-01-03 16:11:19 -0500 (Thu, 03 Jan 2008)
New Revision: 2104

Modified:
   trunk/source/noding/MCIndexSegmentSetMutualIntersector.cpp
Log:
commented out some delete's in MCIndexSegmentSetMutualIntersector::addToIndex, to fix a bug in prepared contains() predicate.

Modified: trunk/source/noding/MCIndexSegmentSetMutualIntersector.cpp
===================================================================
--- trunk/source/noding/MCIndexSegmentSetMutualIntersector.cpp	2008-01-02 23:31:09 UTC (rev 2103)
+++ trunk/source/noding/MCIndexSegmentSetMutualIntersector.cpp	2008-01-03 21:11:19 UTC (rev 2104)
@@ -45,8 +45,8 @@
 		index->insert(mc->getEnvelope(), mc);
 	}
 
-	for ( std::vector<MonotoneChain *>::iterator i = segChains->begin(), e = segChains->end(); i != e; i++ )
-		delete *i;
+//	for ( std::vector<MonotoneChain *>::iterator i = segChains->begin(), e = segChains->end(); i != e; i++ )
+//		delete *i;
 	delete segChains;
 }
 



More information about the geos-commits mailing list