[geos-commits] r2511 - branches/3.1/source/operation/buffer

svn_geos at osgeo.org svn_geos at osgeo.org
Thu May 14 15:28:03 EDT 2009


Author: pramsey
Date: 2009-05-14 15:28:03 -0400 (Thu, 14 May 2009)
New Revision: 2511

Modified:
   branches/3.1/source/operation/buffer/SubgraphDepthLocater.cpp
Log:
port r2503 from trunk back to 3.1


Modified: branches/3.1/source/operation/buffer/SubgraphDepthLocater.cpp
===================================================================
--- branches/3.1/source/operation/buffer/SubgraphDepthLocater.cpp	2009-05-14 19:27:19 UTC (rev 2510)
+++ branches/3.1/source/operation/buffer/SubgraphDepthLocater.cpp	2009-05-14 19:28:03 UTC (rev 2511)
@@ -55,7 +55,7 @@
 
 private:
 
-	geom::LineSegment& upwardSeg;
+	geom::LineSegment upwardSeg;
 
 	/*
 	 * Compare two collinear segments for left-most ordering.
@@ -80,7 +80,8 @@
 
 	int leftDepth;
 
-	DepthSegment(geom::LineSegment &seg, int depth)
+	/// @param seg will be copied to private space
+	DepthSegment(const geom::LineSegment &seg, int depth)
 		:
 		upwardSeg(seg),
 		leftDepth(depth)



More information about the geos-commits mailing list