[geos-commits] r3587 - trunk/include/geos/noding/snapround

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Apr 3 08:59:03 EDT 2012


Author: strk
Date: 2012-04-03 05:59:02 -0700 (Tue, 03 Apr 2012)
New Revision: 3587

Modified:
   trunk/include/geos/noding/snapround/MCIndexSnapRounder.h
Log:
Const-correct PrecisionModel use in MCIndexSnapRounder

Modified: trunk/include/geos/noding/snapround/MCIndexSnapRounder.h
===================================================================
--- trunk/include/geos/noding/snapround/MCIndexSnapRounder.h	2012-04-01 20:52:03 UTC (rev 3586)
+++ trunk/include/geos/noding/snapround/MCIndexSnapRounder.h	2012-04-03 12:59:02 UTC (rev 3587)
@@ -75,7 +75,7 @@
 
 public:
 
-	MCIndexSnapRounder(geom::PrecisionModel& nPm)
+	MCIndexSnapRounder(const geom::PrecisionModel& nPm)
     :
 		pm(nPm),
 		scaleFactor(nPm.getScale()),
@@ -103,7 +103,7 @@
 private:
 
 	/// externally owned
-	geom::PrecisionModel& pm;
+	const geom::PrecisionModel& pm;
 
 	algorithm::LineIntersector li;
 



More information about the geos-commits mailing list