[geos-commits] [SCM] GEOS branch master updated. f2a788ce1c24e34eac002203dc8d42c1068d1d9b
git at osgeo.org
git at osgeo.org
Thu Feb 14 13:30:57 PST 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, master has been updated
via f2a788ce1c24e34eac002203dc8d42c1068d1d9b (commit)
from 94331c78858ec962e53d9bb7c0741d59cb38c05d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f2a788ce1c24e34eac002203dc8d42c1068d1d9b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Feb 14 13:30:48 2019 -0800
Quiet compiler warnings
diff --git a/include/geos/index/chain/MonotoneChain.h b/include/geos/index/chain/MonotoneChain.h
index bab26a5..608c3dd 100644
--- a/include/geos/index/chain/MonotoneChain.h
+++ b/include/geos/index/chain/MonotoneChain.h
@@ -167,7 +167,7 @@ private:
std::size_t start1, std::size_t end1,
MonotoneChainOverlapAction& mco);
- bool overlaps(size_t start0, size_t end0, const MonotoneChain& mc, int start1, size_t end1);
+ bool overlaps(size_t start0, size_t end0, const MonotoneChain& mc, size_t start1, size_t end1);
/// Externally owned
const geom::CoordinateSequence& pts;
diff --git a/src/index/chain/MonotoneChain.cpp b/src/index/chain/MonotoneChain.cpp
index 35be392..795b3bc 100644
--- a/src/index/chain/MonotoneChain.cpp
+++ b/src/index/chain/MonotoneChain.cpp
@@ -162,7 +162,7 @@ MonotoneChain::computeOverlaps(size_t start0, size_t end0,
/*private*/
bool
-MonotoneChain::overlaps(size_t start0, size_t end0, const MonotoneChain& mc, int start1, size_t end1)
+MonotoneChain::overlaps(size_t start0, size_t end0, const MonotoneChain& mc, size_t start1, size_t end1)
{
return Envelope::intersects(pts.getAt(start0), pts.getAt(end0),
mc.pts.getAt(start1), mc.pts.getAt(end1));
-----------------------------------------------------------------------
Summary of changes:
include/geos/index/chain/MonotoneChain.h | 2 +-
src/index/chain/MonotoneChain.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list