diff options
author | Добрый Ээх <bukharaev@gmail.com> | 2016-11-24 12:27:18 +0300 |
---|---|---|
committer | Добрый Ээх <bukharaev@gmail.com> | 2016-11-24 20:11:22 +0300 |
commit | eb1c85bce50a6d98fa92b1cec278643b26b59946 (patch) | |
tree | 824cdf2c3530a9aea58c2df51f5bbcb6eb5d527e /routing/road_index.cpp | |
parent | 1d992e43bd6791135fdf02c273f3584e646bb82b (diff) |
Pull request #4672 review fixes
Diffstat (limited to 'routing/road_index.cpp')
-rw-r--r-- | routing/road_index.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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<Joint::Id, uint32_t> 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); } |