Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2019-05-06 17:10:43 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2019-05-08 13:34:25 +0300
commit6daf93435cdfe85d3681ae6187f265ffb1f696b5 (patch)
tree794bb6b92ffdf18aed15b201b3177a92188cd41f /routing
parent2c3a6ae6e17a8d2ff8f1c9654ca20c1527024be9 (diff)
[routing] add std::move in index_graph_starter_joints.hpp
Diffstat (limited to 'routing')
-rw-r--r--routing/index_graph_starter_joints.hpp2
1 files changed, 1 insertions, 1 deletions
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<JointEdge> IndexGraphStarterJoints<Graph>::FindFirstJoints(Segment c
result.emplace_back(fakeJoint, weight[beforeConvert]);
std::vector<Segment> path = reconstructPath(beforeConvert, fromStart);
- m_reconstructedFakeJoints[fakeJoint] = path;
+ m_reconstructedFakeJoints.emplace(fakeJoint, std::move(path));
};
auto const isEndOfSegment = [&](Segment const & fake, Segment const & segment)