[geos-commits] r3810 - in trunk: include/geos/noding include/geos/precision src/noding

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Jun 7 02:02:08 PDT 2013


Author: mloskot
Date: 2013-06-07 02:02:07 -0700 (Fri, 07 Jun 2013)
New Revision: 3810

Modified:
   trunk/include/geos/noding/GeometryNoder.h
   trunk/include/geos/precision/GeometryPrecisionReducer.h
   trunk/include/geos/precision/PrecisionReducerCoordinateOperation.h
   trunk/src/noding/GeometryNoder.cpp
Log:
Disable copy constructor and assignment operator

Modified: trunk/include/geos/noding/GeometryNoder.h
===================================================================
--- trunk/include/geos/noding/GeometryNoder.h	2013-06-07 08:30:49 UTC (rev 3809)
+++ trunk/include/geos/noding/GeometryNoder.h	2013-06-07 09:02:07 UTC (rev 3810)
@@ -62,6 +62,8 @@
 
   std::auto_ptr<geom::Geometry> toGeometry(SegmentString::NonConstVect& noded);
 
+  GeometryNoder(GeometryNoder const&); /*= delete*/
+  GeometryNoder& operator=(GeometryNoder const&); /*= delete*/
 };
 
 } // namespace geos.noding

Modified: trunk/include/geos/precision/GeometryPrecisionReducer.h
===================================================================
--- trunk/include/geos/precision/GeometryPrecisionReducer.h	2013-06-07 08:30:49 UTC (rev 3809)
+++ trunk/include/geos/precision/GeometryPrecisionReducer.h	2013-06-07 09:02:07 UTC (rev 3810)
@@ -61,6 +61,9 @@
                                           const geom::GeometryFactory& oldGF,
                                           const geom::PrecisionModel& newPM );
 
+  GeometryPrecisionReducer(GeometryPrecisionReducer const&); /*= delete*/
+  GeometryPrecisionReducer& operator=(GeometryPrecisionReducer const&); /*= delete*/
+
 public:
 
   /**

Modified: trunk/include/geos/precision/PrecisionReducerCoordinateOperation.h
===================================================================
--- trunk/include/geos/precision/PrecisionReducerCoordinateOperation.h	2013-06-07 08:30:49 UTC (rev 3809)
+++ trunk/include/geos/precision/PrecisionReducerCoordinateOperation.h	2013-06-07 09:02:07 UTC (rev 3810)
@@ -43,6 +43,9 @@
 
 	bool removeCollapsed;
 
+    PrecisionReducerCoordinateOperation(PrecisionReducerCoordinateOperation const&); /*= delete*/
+    PrecisionReducerCoordinateOperation& operator=(PrecisionReducerCoordinateOperation const&); /*= delete*/
+
 public:
 
 	PrecisionReducerCoordinateOperation( const geom::PrecisionModel& pm,

Modified: trunk/src/noding/GeometryNoder.cpp
===================================================================
--- trunk/src/noding/GeometryNoder.cpp	2013-06-07 08:30:49 UTC (rev 3809)
+++ trunk/src/noding/GeometryNoder.cpp	2013-06-07 09:02:07 UTC (rev 3810)
@@ -64,6 +64,9 @@
   }
 private:
   SegmentString::NonConstVect& _to;
+
+  SegmentStringExtractor(SegmentStringExtractor const&); /*= delete*/
+  SegmentStringExtractor& operator=(SegmentStringExtractor const&); /*= delete*/
 };
 
 }



More information about the geos-commits mailing list