[geos-commits] [SCM] GEOS branch master updated. c79133f302d72093f7123befcd21c357ce60f08c

git at osgeo.org git at osgeo.org
Tue Nov 24 20:54:51 PST 2020


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  c79133f302d72093f7123befcd21c357ce60f08c (commit)
      from  60eb9895f72f8e494897c463d3ac5df83f782b49 (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 c79133f302d72093f7123befcd21c357ce60f08c
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Nov 24 20:54:44 2020 -0800

    quiet CI build warning

diff --git a/tests/unit/index/strtree/SimpleSTRtreeTest.cpp b/tests/unit/index/strtree/SimpleSTRtreeTest.cpp
index 7fa2869..5bae49b 100644
--- a/tests/unit/index/strtree/SimpleSTRtreeTest.cpp
+++ b/tests/unit/index/strtree/SimpleSTRtreeTest.cpp
@@ -60,8 +60,9 @@ void object::test<1>
             void
             visitItem(void* item) override
             {
-                count++;
-                // geom::Point* pt = static_cast<geom::Point*>(item);
+                geom::Point* pt = static_cast<geom::Point*>(item);
+                if (!pt->isEmpty())
+                    count++;
                 // std::cout << pt << std::endl;
             }
     };

-----------------------------------------------------------------------

Summary of changes:
 tests/unit/index/strtree/SimpleSTRtreeTest.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list