[geos-commits] r2537 - trunk/source/operation/buffer

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Jun 4 10:59:50 EDT 2009


Author: mloskot
Date: 2009-06-04 10:59:50 -0400 (Thu, 04 Jun 2009)
New Revision: 2537

Modified:
   trunk/source/operation/buffer/BufferBuilder.cpp
Log:
Fixed bug of inaccessible constructor of incomplete type NodedSegmentString - header missing.

Modified: trunk/source/operation/buffer/BufferBuilder.cpp
===================================================================
--- trunk/source/operation/buffer/BufferBuilder.cpp	2009-06-04 13:59:31 UTC (rev 2536)
+++ trunk/source/operation/buffer/BufferBuilder.cpp	2009-06-04 14:59:50 UTC (rev 2537)
@@ -39,6 +39,7 @@
 #include <geos/noding/IntersectionAdder.h>
 #include <geos/noding/SegmentString.h>
 #include <geos/noding/MCIndexNoder.h>
+#include <geos/noding/NodedSegmentString.h>
 #include <geos/geomgraph/Position.h>
 #include <geos/geomgraph/PlanarGraph.h>
 #include <geos/geomgraph/Label.h>
@@ -141,7 +142,8 @@
    SegmentString::NonConstVect curveList;
    for ( unsigned int i = 0; i < lineList.size(); ++i )
    {
-      curveList.push_back( new NodedSegmentString( lineList[i], NULL ) );
+      CoordinateSequence* seq = lineList[i];
+      curveList.push_back( new NodedSegmentString( seq, NULL ) );
    }
 
    // Node these SegmentStrings.



More information about the geos-commits mailing list