[geos-commits] r3405 - in branches/3.3: include/geos/geom/prep
src/geom/prep
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Jul 5 05:44:00 EDT 2011
Author: strk
Date: 2011-07-05 02:44:00 -0700 (Tue, 05 Jul 2011)
New Revision: 3405
Modified:
branches/3.3/include/geos/geom/prep/PreparedPoint.h
branches/3.3/src/geom/prep/PreparedPoint.cpp
Log:
Fix bogus override of PreparedGeometry::intersect by PreparedPoint
Modified: branches/3.3/include/geos/geom/prep/PreparedPoint.h
===================================================================
--- branches/3.3/include/geos/geom/prep/PreparedPoint.h 2011-07-05 09:43:51 UTC (rev 3404)
+++ branches/3.3/include/geos/geom/prep/PreparedPoint.h 2011-07-05 09:44:00 UTC (rev 3405)
@@ -49,7 +49,7 @@
* The optimization here is that computing topology for the test
* geometry is avoided. This can be significant for large geometries.
*/
- bool intersects(geom::Geometry* g);
+ bool intersects(const geom::Geometry* g);
};
Modified: branches/3.3/src/geom/prep/PreparedPoint.cpp
===================================================================
--- branches/3.3/src/geom/prep/PreparedPoint.cpp 2011-07-05 09:43:51 UTC (rev 3404)
+++ branches/3.3/src/geom/prep/PreparedPoint.cpp 2011-07-05 09:44:00 UTC (rev 3405)
@@ -25,7 +25,7 @@
namespace prep { // geos.geom.prep
bool
-PreparedPoint::intersects( geom::Geometry* g)
+PreparedPoint::intersects(const geom::Geometry* g)
{
if (! envelopesIntersect( g)) return false;
More information about the geos-commits
mailing list