[geos-commits] r3193 - trunk/include/geos/operation/union
svn_geos at osgeo.org
svn_geos at osgeo.org
Thu Feb 10 09:05:44 EST 2011
Author: strk
Date: 2011-02-10 06:05:44 -0800 (Thu, 10 Feb 2011)
New Revision: 3193
Modified:
trunk/include/geos/operation/union/CascadedPolygonUnion.h
Log:
Fix dynamic cast
Modified: trunk/include/geos/operation/union/CascadedPolygonUnion.h
===================================================================
--- trunk/include/geos/operation/union/CascadedPolygonUnion.h 2011-02-10 13:48:34 UTC (rev 3192)
+++ trunk/include/geos/operation/union/CascadedPolygonUnion.h 2011-02-10 14:05:44 UTC (rev 3193)
@@ -141,7 +141,7 @@
{
std::vector<geom::Polygon*> polys;
for (T i=start; i!=end; ++i) {
- const geom::Polygon* p = dynamic_cast<geom::Polygon*>(*i);
+ const geom::Polygon* p = dynamic_cast<const geom::Polygon*>(*i);
polys.push_back(const_cast<geom::Polygon*>(p));
}
return Union(&polys);
More information about the geos-commits
mailing list