From 6daf93435cdfe85d3681ae6187f265ffb1f696b5 Mon Sep 17 00:00:00 2001 From: Mikhail Gorbushin Date: Mon, 6 May 2019 17:10:43 +0300 Subject: [PATCH] [routing] add std::move in index_graph_starter_joints.hpp --- routing/index_graph_starter_joints.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/index_graph_starter_joints.hpp b/routing/index_graph_starter_joints.hpp index 9b8f283387..991483810f 100644 --- a/routing/index_graph_starter_joints.hpp +++ b/routing/index_graph_starter_joints.hpp @@ -549,7 +549,7 @@ std::vector IndexGraphStarterJoints::FindFirstJoints(Segment c result.emplace_back(fakeJoint, weight[beforeConvert]); std::vector path = reconstructPath(beforeConvert, fromStart); - m_reconstructedFakeJoints[fakeJoint] = path; + m_reconstructedFakeJoints.emplace(fakeJoint, std::move(path)); }; auto const isEndOfSegment = [&](Segment const & fake, Segment const & segment)