diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-01-26 16:24:57 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:15:31 +0300 |
commit | 9eb39c2a90e2ec5ebde4911c4942113944a9a872 (patch) | |
tree | 77a527e7a2cd419cdd12dc9bf78f14ff75070258 /pedestrian_routing_tests | |
parent | 0c7fd087b3fe7275c24a2f019508eb635a5e4373 (diff) |
[old map downloader] Corrections after colleagues comments.
Diffstat (limited to 'pedestrian_routing_tests')
-rw-r--r-- | pedestrian_routing_tests/pedestrian_routing_tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pedestrian_routing_tests/pedestrian_routing_tests.cpp b/pedestrian_routing_tests/pedestrian_routing_tests.cpp index e815479620..161b6d37a6 100644 --- a/pedestrian_routing_tests/pedestrian_routing_tests.cpp +++ b/pedestrian_routing_tests/pedestrian_routing_tests.cpp @@ -91,19 +91,19 @@ unique_ptr<storage::CountryInfoGetter> CreateCountryInfoGetter() unique_ptr<routing::IRouter> CreatePedestrianAStarTestRouter(Index & index, storage::CountryInfoGetter & cig) { - auto fnUKGetter = [&](m2::PointD const & pt) { return cig.GetRegionFile(pt); }; + auto UKGetter = [&](m2::PointD const & pt) { return cig.GetRegionFile(pt); }; unique_ptr<routing::IVehicleModelFactory> vehicleModelFactory(new SimplifiedPedestrianModelFactory()); unique_ptr<routing::IRoutingAlgorithm> algorithm(new routing::AStarRoutingAlgorithm()); - unique_ptr<routing::IRouter> router(new routing::RoadGraphRouter("test-astar-pedestrian", index, fnUKGetter, move(vehicleModelFactory), move(algorithm), nullptr)); + unique_ptr<routing::IRouter> router(new routing::RoadGraphRouter("test-astar-pedestrian", index, UKGetter, move(vehicleModelFactory), move(algorithm), nullptr)); return router; } unique_ptr<routing::IRouter> CreatePedestrianAStarBidirectionalTestRouter(Index & index, storage::CountryInfoGetter & cig) { - auto fnUKGetter = [&](m2::PointD const & pt) { return cig.GetRegionFile(pt); }; + auto UKGetter = [&](m2::PointD const & pt) { return cig.GetRegionFile(pt); }; unique_ptr<routing::IVehicleModelFactory> vehicleModelFactory(new SimplifiedPedestrianModelFactory()); unique_ptr<routing::IRoutingAlgorithm> algorithm(new routing::AStarBidirectionalRoutingAlgorithm()); - unique_ptr<routing::IRouter> router(new routing::RoadGraphRouter("test-astar-bidirectional-pedestrian", index, fnUKGetter, move(vehicleModelFactory), move(algorithm), nullptr)); + unique_ptr<routing::IRouter> router(new routing::RoadGraphRouter("test-astar-bidirectional-pedestrian", index, UKGetter, move(vehicleModelFactory), move(algorithm), nullptr)); return router; } |