Skip to content

Commit 203314b

Browse files
Remove unused middle_nodes_table vector (#7012)
1 parent e5e25a1 commit 203314b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/engine/routing_algorithms/many_to_many_mld.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ oneToManySearch(SearchEngineData<Algorithm> &engine_working_data,
222222
std::vector<EdgeDuration> durations_table(target_indices.size(), MAXIMAL_EDGE_DURATION);
223223
std::vector<EdgeDistance> distances_table(calculate_distance ? target_indices.size() : 0,
224224
MAXIMAL_EDGE_DISTANCE);
225-
std::vector<NodeID> middle_nodes_table(target_indices.size(), SPECIAL_NODEID);
226225

227226
// Collect destination (source) nodes into a map
228227
std::unordered_multimap<NodeID, std::tuple<std::size_t, EdgeWeight, EdgeDuration, EdgeDistance>>
@@ -307,7 +306,6 @@ oneToManySearch(SearchEngineData<Algorithm> &engine_working_data,
307306
weights_table[index] = path_weight;
308307
durations_table[index] = path_duration;
309308
current_distance = path_distance;
310-
middle_nodes_table[index] = node;
311309
}
312310

313311
// Remove node from destinations list

0 commit comments

Comments
 (0)