From 54437942d296127ede5e1439a77fb024c2040e36 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Tue, 14 May 2024 20:12:08 +0200 Subject: [PATCH] remove #if 0 --- include/engine/geospatial_query.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/engine/geospatial_query.hpp b/include/engine/geospatial_query.hpp index 6ae53bd85..c3843e8eb 100644 --- a/include/engine/geospatial_query.hpp +++ b/include/engine/geospatial_query.hpp @@ -54,14 +54,6 @@ template class GeospatialQuery const boost::optional bearing_with_range, const boost::optional use_all_edges) const { -#if 0 - return NearestPhantomNodes(input_coordinate, - approach, - boost::optional{}, - max_distance, - bearing_with_range, - use_all_edges); -#else auto results = rtree.SearchInRange( input_coordinate, max_distance, @@ -89,7 +81,6 @@ template class GeospatialQuery phantom_nodes.end(), [](const auto &lhs, const auto &rhs) { return lhs.distance < rhs.distance; }); return phantom_nodes; -#endif } // Returns max_results nearest PhantomNodes that are valid within the provided parameters.