From aff6a26b56e91d4b117d98adaec51ef2f62d29cc Mon Sep 17 00:00:00 2001 From: Mikhail Gorbushin Date: Mon, 25 Mar 2019 15:55:50 +0300 Subject: [PATCH] [routing] review fixes --- routing/index_graph_starter_joints.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routing/index_graph_starter_joints.hpp b/routing/index_graph_starter_joints.hpp index 2978fc1efe..2533cb7e54 100644 --- a/routing/index_graph_starter_joints.hpp +++ b/routing/index_graph_starter_joints.hpp @@ -9,6 +9,7 @@ #include "base/assert.hpp" +#include #include #include #include @@ -480,7 +481,7 @@ std::vector IndexGraphStarterJoints::FindFirstJoints(Segment c Segment const & endSegment = fromStart ? m_endSegment : m_startSegment; std::queue queue; - queue.push(startSegment); + queue.emplace(startSegment); std::map parent; std::map weight;