[geos-devel] Problems with latest CVS (and 2.1.0 release)

strk at refractions.net strk at refractions.net
Wed Dec 8 14:29:54 EST 2004


On Wed, Dec 08, 2004 at 06:19:42PM -0000, postgis at dannykent.com wrote:
(please write in text format next time...)

Try making the inner class a friend of outer class.
--strk(patch_follows);

Index: source/headers/geos/opPolygonize.h
===================================================================
RCS file: /home/cvs/postgis/geos/source/headers/geos/opPolygonize.h,v
retrieving revision 1.5
diff -U2 -r1.5 opPolygonize.h
--- source/headers/geos/opPolygonize.h  19 Oct 2004 19:51:14 -0000      1.5
+++ source/headers/geos/opPolygonize.h  8 Dec 2004 19:30:28 -0000
@@ -486,4 +486,6 @@
         */
        vector<LineString*>* getInvalidRingLines();
+
+friend class Polygonizer::LineStringAdder;
 };





More information about the geos-devel mailing list