From eb1c85bce50a6d98fa92b1cec278643b26b59946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D1=80=D1=8B=D0=B8=CC=86=20=D0=AD=D1=8D?= =?UTF-8?q?=D1=85?= Date: Thu, 24 Nov 2016 12:27:18 +0300 Subject: Pull request #4672 review fixes --- routing/road_index.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'routing/road_index.cpp') diff --git a/routing/road_index.cpp b/routing/road_index.cpp index acc1a9d8e8..e6668e8a0d 100644 --- a/routing/road_index.cpp +++ b/routing/road_index.cpp @@ -1,8 +1,6 @@ #include "routing/road_index.hpp" -#include "base/exception.hpp" - -#include "std/utility.hpp" +#include "routing/routing_exception.hpp" namespace routing { @@ -24,7 +22,7 @@ pair RoadIndex::FindNeighbor(RoadPoint rp, bool forward) co { auto const it = m_roads.find(rp.GetFeatureId()); if (it == m_roads.cend()) - MYTHROW(RootException, ("RoadIndex doesn't contains feature", rp.GetFeatureId())); + MYTHROW(RoutingException, ("RoadIndex doesn't contains feature", rp.GetFeatureId())); return it->second.FindNeighbor(rp.GetPointId(), forward); } -- cgit v1.2.3