[geos-commits] r2519 - branches/3.1/source/geomgraph

svn_geos at osgeo.org svn_geos at osgeo.org
Wed May 27 14:11:15 EDT 2009


Author: pramsey
Date: 2009-05-27 14:11:14 -0400 (Wed, 27 May 2009)
New Revision: 2519

Modified:
   branches/3.1/source/geomgraph/GeometryGraph.cpp
Log:
add const modifier


Modified: branches/3.1/source/geomgraph/GeometryGraph.cpp
===================================================================
--- branches/3.1/source/geomgraph/GeometryGraph.cpp	2009-05-27 17:56:34 UTC (rev 2518)
+++ branches/3.1/source/geomgraph/GeometryGraph.cpp	2009-05-27 18:11:14 UTC (rev 2519)
@@ -229,7 +229,7 @@
 {
 	// skip empty component (see bug #234) 
 	if ( lr->isEmpty() ) return; 
-	CoordinateSequence *lrcl = lr->getCoordinatesRO(); 	
+	const CoordinateSequence *lrcl = lr->getCoordinatesRO(); 	
 	CoordinateSequence* coord=CoordinateSequence::removeRepeatedPoints(lrcl);
 	if (coord->getSize()<4) {
 		hasTooFewPointsVar=true;



More information about the geos-commits mailing list