[geos-commits] [SCM] GEOS branch main updated. 635e833d6ccd6f6b97ffb5c5f84dda3bc4951700

git at osgeo.org git at osgeo.org
Wed Nov 29 14:14:34 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  635e833d6ccd6f6b97ffb5c5f84dda3bc4951700 (commit)
      from  09885badcb2f933767577c762ddb6a97b90515a8 (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 635e833d6ccd6f6b97ffb5c5f84dda3bc4951700
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Wed Nov 29 14:14:14 2023 -0800

    Remove unused TemplateSTRtree declaration

diff --git a/include/geos/index/strtree/TemplateSTRtree.h b/include/geos/index/strtree/TemplateSTRtree.h
index 32263289b..6960ddf09 100644
--- a/include/geos/index/strtree/TemplateSTRtree.h
+++ b/include/geos/index/strtree/TemplateSTRtree.h
@@ -206,7 +206,6 @@ public:
     /** Determine the two closest items in the tree using distance metric `distance`. */
     template<typename ItemDistance>
     std::pair<ItemType, ItemType> nearestNeighbour() {
-        ItemDistance id;
         return nearestNeighbour(*this);
     }
 

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

Summary of changes:
 include/geos/index/strtree/TemplateSTRtree.h | 1 -
 1 file changed, 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list