[geos-commits] [SCM] GEOS branch main updated. 8bace6161f6593643e45875d7972247699357720

git at osgeo.org git at osgeo.org
Mon Nov 2 05:49:08 PST 2026


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, main has been updated
       via  8bace6161f6593643e45875d7972247699357720 (commit)
      from  159cc1f9dba3ee820e31123af4f90a2b6e090546 (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 8bace6161f6593643e45875d7972247699357720
Author: Daniel Baston <dbaston at gmail.com>
Date:   Sun Nov 1 21:26:50 2026 -0500

    SpatialIndex.h: fix undocumented parameter

diff --git a/include/geos/index/SpatialIndex.h b/include/geos/index/SpatialIndex.h
index b3842543b..5e82089f0 100644
--- a/include/geos/index/SpatialIndex.h
+++ b/include/geos/index/SpatialIndex.h
@@ -70,9 +70,9 @@ public:
      * intersect the query envelope.
      *
      * @param searchEnv the envelope to query for
+     * @param matches a vector into which found items should be inserted
      */
-    //virtual std::vector<void*>* query(const geom::Envelope *searchEnv)=0;
-    virtual void query(const geom::Envelope* searchEnv, std::vector<void*>&) = 0;
+    virtual void query(const geom::Envelope* searchEnv, std::vector<void*>& matches) = 0;
 
     /** \brief
      * Queries the index for all items whose extents intersect the given search Envelope

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

Summary of changes:
 include/geos/index/SpatialIndex.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list