[geos-commits] [SCM] GEOS branch main updated. 9b310cbd3c7f9d02a240d15d24c3358da4e1f2a7

git at osgeo.org git at osgeo.org
Wed Nov 29 14:30:00 PST 2023


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  9b310cbd3c7f9d02a240d15d24c3358da4e1f2a7 (commit)
      from  635e833d6ccd6f6b97ffb5c5f84dda3bc4951700 (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 9b310cbd3c7f9d02a240d15d24c3358da4e1f2a7
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Wed Nov 29 14:29:41 2023 -0800

    Fix TemplateSTRtree method doc

diff --git a/include/geos/index/strtree/TemplateSTRtree.h b/include/geos/index/strtree/TemplateSTRtree.h
index 6960ddf09..baae429d0 100644
--- a/include/geos/index/strtree/TemplateSTRtree.h
+++ b/include/geos/index/strtree/TemplateSTRtree.h
@@ -203,7 +203,7 @@ public:
         return nearestNeighbour(*this, distance);
     }
 
-    /** Determine the two closest items in the tree using distance metric `distance`. */
+    /** Determine the two closest items in the tree using distance metric `ItemDistance`. */
     template<typename ItemDistance>
     std::pair<ItemType, ItemType> nearestNeighbour() {
         return nearestNeighbour(*this);
@@ -221,7 +221,7 @@ public:
         return td.nearestNeighbour(*root, *other.root);
     }
 
-    /** Determine the two closest items this tree and `other` tree using distance metric `distance`. */
+    /** Determine the two closest items this tree and `other` tree using distance metric `ItemDistance`. */
     template<typename ItemDistance>
     std::pair<ItemType, ItemType> nearestNeighbour(TemplateSTRtreeImpl<ItemType, BoundsTraits>& other) {
         ItemDistance id;

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

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


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list