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.