[geos-commits] [SCM] GEOS branch 3.10 updated. fda50846be8990ccc09a7db434ce2b889ff8ca40

git at osgeo.org git at osgeo.org
Thu Jun 6 14:59:33 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  fda50846be8990ccc09a7db434ce2b889ff8ca40 (commit)
      from  eeabbb351d9b64f3b2aa8e648f2ef6982a2bc558 (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 fda50846be8990ccc09a7db434ce2b889ff8ca40
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Jun 6 14:59:07 2024 -0700

    Quiet MSVC warning

diff --git a/include/geos/geom/FixedSizeCoordinateSequence.h b/include/geos/geom/FixedSizeCoordinateSequence.h
index f2be8e631..bc937685f 100644
--- a/include/geos/geom/FixedSizeCoordinateSequence.h
+++ b/include/geos/geom/FixedSizeCoordinateSequence.h
@@ -106,9 +106,7 @@ namespace geom {
 
         void setPoints(const std::vector<Coordinate> & v) final override {
             assert(v.size() == N);
-            if (N > 0) {
-                std::copy(v.begin(), v.end(), m_data.begin());
-            }
+            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, 1 insertion(+), 3 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list