From f799dae7db9879ec7009bf85d041666ca7fa84a6 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 20 Aug 2022 18:01:27 +0200 Subject: [PATCH] Enable performance-move-const-arg clang-tidy check --- src/engine/routing_algorithms/alternative_path_mld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/routing_algorithms/alternative_path_mld.cpp b/src/engine/routing_algorithms/alternative_path_mld.cpp index 51688c825..b8fae7568 100644 --- a/src/engine/routing_algorithms/alternative_path_mld.cpp +++ b/src/engine/routing_algorithms/alternative_path_mld.cpp @@ -851,7 +851,7 @@ InternalManyRoutesResult alternativePathSearch(SearchEngineData &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 weighted_packed_paths;