[geos-commits] r2782 - trunk/source/headers/geos/operation/valid

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Dec 3 14:50:27 EST 2009


Author: mloskot
Date: 2009-12-03 14:50:26 -0500 (Thu, 03 Dec 2009)
New Revision: 2782

Modified:
   trunk/source/headers/geos/operation/valid/ConnectedInteriorTester.h
Log:
Part 21 of larger changeset - source/headers/geos/operation/valid:
* Declare noncopyable types as such explicitly (Ticket #304).
* Tidy up.

Modified: trunk/source/headers/geos/operation/valid/ConnectedInteriorTester.h
===================================================================
--- trunk/source/headers/geos/operation/valid/ConnectedInteriorTester.h	2009-12-03 19:48:04 UTC (rev 2781)
+++ trunk/source/headers/geos/operation/valid/ConnectedInteriorTester.h	2009-12-03 19:50:26 UTC (rev 2782)
@@ -73,6 +73,10 @@
 			const geom::CoordinateSequence *coord,
 			const geom::Coordinate& pt);
 
+protected:
+
+	void visitLinkedDirectedEdges(geomgraph::DirectedEdge *start);
+
 private:
 
 	geom::GeometryFactory *geometryFactory;
@@ -124,9 +128,9 @@
 	 */
 	bool hasUnvisitedShellEdge(std::vector<geomgraph::EdgeRing*> *edgeRings);
 
-protected:
-
-	void visitLinkedDirectedEdges(geomgraph::DirectedEdge *start);
+    // Declare type as noncopyable
+    ConnectedInteriorTester(const ConnectedInteriorTester& other);
+    ConnectedInteriorTester& operator=(const ConnectedInteriorTester& rhs);
 };
 
 



More information about the geos-commits mailing list