[geos-commits] r3545 - branches/3.3/src/operation/overlay

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Dec 12 10:04:20 EST 2011


Author: hobu
Date: 2011-12-12 07:04:20 -0800 (Mon, 12 Dec 2011)
New Revision: 3545

Modified:
   branches/3.3/src/operation/overlay/OverlayNodeFactory.cpp
Log:
apply patch for #500 to fix clang's complaint about a missing default initialization

Modified: branches/3.3/src/operation/overlay/OverlayNodeFactory.cpp
===================================================================
--- branches/3.3/src/operation/overlay/OverlayNodeFactory.cpp	2011-12-12 10:10:00 UTC (rev 3544)
+++ branches/3.3/src/operation/overlay/OverlayNodeFactory.cpp	2011-12-12 15:04:20 UTC (rev 3545)
@@ -28,8 +28,6 @@
 namespace operation { // geos.operation
 namespace overlay { // geos.operation.overlay
 
-static const OverlayNodeFactory onf;
-
 Node*
 OverlayNodeFactory::createNode(const geom::Coordinate &coord) const
 {
@@ -39,6 +37,7 @@
 const NodeFactory &
 OverlayNodeFactory::instance() 
 {
+  static OverlayNodeFactory onf;
 	return onf;
 }
 



More information about the geos-commits mailing list