Enable performance-move-const-arg clang-tidy check

This commit is contained in:
Siarhei Fedartsou 2022-08-20 18:01:27 +02:00
parent 872e56a4e8
commit f799dae7db

View File

@ -851,7 +851,7 @@ InternalManyRoutesResult alternativePathSearch(SearchEngineData<Algorithm> &sear
const auto extract_packed_path_from_heaps = [&](WeightedViaNode via) { const auto extract_packed_path_from_heaps = [&](WeightedViaNode via) {
auto packed_path = retrievePackedPathFromHeap(forward_heap, reverse_heap, via.node); auto packed_path = retrievePackedPathFromHeap(forward_heap, reverse_heap, via.node);
return WeightedViaNodePackedPath{std::move(via), std::move(packed_path)}; return WeightedViaNodePackedPath{via, std::move(packed_path)};
}; };
std::vector<WeightedViaNodePackedPath> weighted_packed_paths; std::vector<WeightedViaNodePackedPath> weighted_packed_paths;