From 203314b1aa5a4cbbd32b8bd47a5c68399bd9d04e Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 3 Aug 2024 22:32:37 +0200 Subject: [PATCH] Remove unused middle_nodes_table vector (#7012) --- src/engine/routing_algorithms/many_to_many_mld.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/engine/routing_algorithms/many_to_many_mld.cpp b/src/engine/routing_algorithms/many_to_many_mld.cpp index 0949c748857..b9168508b1d 100644 --- a/src/engine/routing_algorithms/many_to_many_mld.cpp +++ b/src/engine/routing_algorithms/many_to_many_mld.cpp @@ -222,7 +222,6 @@ oneToManySearch(SearchEngineData &engine_working_data, std::vector durations_table(target_indices.size(), MAXIMAL_EDGE_DURATION); std::vector distances_table(calculate_distance ? target_indices.size() : 0, MAXIMAL_EDGE_DISTANCE); - std::vector middle_nodes_table(target_indices.size(), SPECIAL_NODEID); // Collect destination (source) nodes into a map std::unordered_multimap> @@ -307,7 +306,6 @@ oneToManySearch(SearchEngineData &engine_working_data, weights_table[index] = path_weight; durations_table[index] = path_duration; current_distance = path_distance; - middle_nodes_table[index] = node; } // Remove node from destinations list