[geos-commits] r3546 - trunk/src/operation/overlay
svn_geos at osgeo.org
svn_geos at osgeo.org
Mon Dec 12 10:09:26 EST 2011
Author: hobu
Date: 2011-12-12 07:09:26 -0800 (Mon, 12 Dec 2011)
New Revision: 3546
Modified:
trunk/src/operation/overlay/OverlayNodeFactory.cpp
Log:
apply patch for #500 to fix clang's complaint about a missing default initialization
Modified: trunk/src/operation/overlay/OverlayNodeFactory.cpp
===================================================================
--- trunk/src/operation/overlay/OverlayNodeFactory.cpp 2011-12-12 15:04:20 UTC (rev 3545)
+++ trunk/src/operation/overlay/OverlayNodeFactory.cpp 2011-12-12 15:09:26 UTC (rev 3546)
@@ -27,8 +27,6 @@
namespace operation { // geos.operation
namespace overlay { // geos.operation.overlay
-static const OverlayNodeFactory onf;
-
Node*
OverlayNodeFactory::createNode(const geom::Coordinate &coord) const
{
@@ -38,6 +36,7 @@
const NodeFactory &
OverlayNodeFactory::instance()
{
+ static OverlayNodeFactory onf;
return onf;
}
More information about the geos-commits
mailing list