diff options
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); } |