[geos-commits] r2774 - trunk/source/headers/geos/index/chain

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Dec 3 14:36:56 EST 2009


Author: mloskot
Date: 2009-12-03 14:36:56 -0500 (Thu, 03 Dec 2009)
New Revision: 2774

Modified:
   trunk/source/headers/geos/index/chain/MonotoneChain.h
Log:
Part 13 of larger changeset - source/headers/geos/index/chain:
* Declare noncopyable types as such explicitly (Ticket #304).
* Added Visual C++ pragmas.
* Tidy up.


Modified: trunk/source/headers/geos/index/chain/MonotoneChain.h
===================================================================
--- trunk/source/headers/geos/index/chain/MonotoneChain.h	2009-12-03 19:36:17 UTC (rev 2773)
+++ trunk/source/headers/geos/index/chain/MonotoneChain.h	2009-12-03 19:36:56 UTC (rev 2774)
@@ -167,6 +167,9 @@
 	/// useful for optimizing chain comparisons
 	int id;
 
+    // Declare type as noncopyable
+    MonotoneChain(const MonotoneChain& other);
+    MonotoneChain& operator=(const MonotoneChain& rhs);
 };
 
 } // namespace geos::index::chain



More information about the geos-commits mailing list