[geos-commits] [SCM] GEOS branch 3.10 updated. c91cb2e6094028d13b3e77d11406c1ad21c1d280
git at osgeo.org
git at osgeo.org
Thu Jun 6 15:11:12 PDT 2024
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, 3.10 has been updated
via c91cb2e6094028d13b3e77d11406c1ad21c1d280 (commit)
from fda50846be8990ccc09a7db434ce2b889ff8ca40 (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 c91cb2e6094028d13b3e77d11406c1ad21c1d280
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Jun 6 15:10:51 2024 -0700
revert
diff --git a/include/geos/geom/FixedSizeCoordinateSequence.h b/include/geos/geom/FixedSizeCoordinateSequence.h
index bc937685f..f2be8e631 100644
--- a/include/geos/geom/FixedSizeCoordinateSequence.h
+++ b/include/geos/geom/FixedSizeCoordinateSequence.h
@@ -106,7 +106,9 @@ namespace geom {
void setPoints(const std::vector<Coordinate> & v) final override {
assert(v.size() == N);
- std::copy(v.begin(), v.end(), m_data.begin());
+ if (N > 0) {
+ std::copy(v.begin(), v.end(), m_data.begin());
+ }
}
void apply_ro(CoordinateFilter* filter) const final override {
-----------------------------------------------------------------------
Summary of changes:
include/geos/geom/FixedSizeCoordinateSequence.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list