diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-08-06 10:48:17 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:59:22 +0300 |
commit | 3b61add6ed3ceca03640f3440af2bdaf99e99d78 (patch) | |
tree | 1850b61de6fae95df72bba2ebf79557cacd5813e /routing | |
parent | 389d00224b3cd9cf903126be54f6bb65699676d6 (diff) |
PR fixes
Diffstat (limited to 'routing')
-rw-r--r-- | routing/osrm_router.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/routing/osrm_router.cpp b/routing/osrm_router.cpp index 7adffe9f68..1f4372508a 100644 --- a/routing/osrm_router.cpp +++ b/routing/osrm_router.cpp @@ -335,13 +335,12 @@ private: } // namespace // static -bool OsrmRouter::CheckRoutingAbility(m2::PointD const & startPoint, - m2::PointD const & finalPoint, - TCountryFileFn const & countryFileFn, Index * index) +bool OsrmRouter::CheckRoutingAbility(m2::PointD const & startPoint, m2::PointD const & finalPoint, + TCountryFileFn const & countryFileFn, Index * index) { - RoutingIndexManager manager(countryFileFn, index); - return manager.GetMappingByPoint(startPoint)->IsValid() && - manager.GetMappingByPoint(finalPoint)->IsValid(); + RoutingIndexManager manager(countryFileFn, index); + return manager.GetMappingByPoint(startPoint)->IsValid() && + manager.GetMappingByPoint(finalPoint)->IsValid(); } OsrmRouter::OsrmRouter(Index * index, TCountryFileFn const & countryFileFn) |