[geos-commits] r4078 - in trunk: include/geos/geom/prep src/geom/prep
svn_geos at osgeo.org
svn_geos at osgeo.org
Wed Aug 12 06:42:58 PDT 2015
Author: pramsey
Date: 2015-08-12 06:42:58 -0700 (Wed, 12 Aug 2015)
New Revision: 4078
Modified:
trunk/include/geos/geom/prep/PreparedPoint.h
trunk/src/geom/prep/PreparedPoint.cpp
Log:
Quiet clang warning and match const signatures on PreparedPolygon
Modified: trunk/include/geos/geom/prep/PreparedPoint.h
===================================================================
--- trunk/include/geos/geom/prep/PreparedPoint.h 2015-08-12 13:34:16 UTC (rev 4077)
+++ trunk/include/geos/geom/prep/PreparedPoint.h 2015-08-12 13:42:58 UTC (rev 4078)
@@ -48,7 +48,7 @@
* The optimization here is that computing topology for the test
* geometry is avoided. This can be significant for large geometries.
*/
- bool intersects(const geom::Geometry* g);
+ bool intersects(const geom::Geometry* g) const;
};
Modified: trunk/src/geom/prep/PreparedPoint.cpp
===================================================================
--- trunk/src/geom/prep/PreparedPoint.cpp 2015-08-12 13:34:16 UTC (rev 4077)
+++ trunk/src/geom/prep/PreparedPoint.cpp 2015-08-12 13:42:58 UTC (rev 4078)
@@ -24,7 +24,7 @@
namespace prep { // geos.geom.prep
bool
-PreparedPoint::intersects(const geom::Geometry* g)
+PreparedPoint::intersects(const geom::Geometry* g) const
{
if (! envelopesIntersect( g)) return false;
More information about the geos-commits
mailing list