From 9b310cbd3c7f9d02a240d15d24c3358da4e1f2a7 Mon Sep 17 00:00:00 2001 From: Martin Davis Date: Wed, 29 Nov 2023 14:29:41 -0800 Subject: [PATCH] Fix TemplateSTRtree method doc --- include/geos/index/strtree/TemplateSTRtree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/geos/index/strtree/TemplateSTRtree.h b/include/geos/index/strtree/TemplateSTRtree.h index 6960ddf098..baae429d0f 100644 --- a/include/geos/index/strtree/TemplateSTRtree.h +++ b/include/geos/index/strtree/TemplateSTRtree.h @@ -203,7 +203,7 @@ class TemplateSTRtreeImpl { 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 std::pair nearestNeighbour() { return nearestNeighbour(*this); @@ -221,7 +221,7 @@ class TemplateSTRtreeImpl { 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 std::pair nearestNeighbour(TemplateSTRtreeImpl& other) { ItemDistance id;