Enable performance-move-const-arg clang-tidy check (#6319)
This commit is contained in:
committed by
GitHub
parent
869b3fae82
commit
8e74b7af9d
@@ -851,7 +851,7 @@ InternalManyRoutesResult alternativePathSearch(SearchEngineData<Algorithm> &sear
|
||||
const auto extract_packed_path_from_heaps = [&](WeightedViaNode via) {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user