diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-07-09 15:01:44 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:55:45 +0300 |
commit | 3c2b18cf20452a01b39a8509950e64fd04257015 (patch) | |
tree | ff9aa3371e7507cbf26b1a3ad24035e7865b8d02 /routing/road_graph_router.cpp | |
parent | 24c7f556e1402dbd9f0f6fdddd10e9d54f0067cd (diff) |
clang-format
Diffstat (limited to 'routing/road_graph_router.cpp')
-rw-r--r-- | routing/road_graph_router.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/routing/road_graph_router.cpp b/routing/road_graph_router.cpp index 8b4ee987a6..d64d118bea 100644 --- a/routing/road_graph_router.cpp +++ b/routing/road_graph_router.cpp @@ -55,16 +55,15 @@ string GetCountryForMwmFile(string const & mwmName) RoadGraphRouter::~RoadGraphRouter() {} -RoadGraphRouter::RoadGraphRouter(string const & name, - Index & index, +RoadGraphRouter::RoadGraphRouter(string const & name, Index & index, unique_ptr<IVehicleModelFactory> && vehicleModelFactory, unique_ptr<IRoutingAlgorithm> && algorithm, TMwmFileByPointFn const & countryFileFn) - : m_name(name) - , m_index(index) - , m_vehicleModelFactory(move(vehicleModelFactory)) - , m_algorithm(move(algorithm)) - , m_countryFileFn(countryFileFn) + : m_name(name), + m_index(index), + m_vehicleModelFactory(move(vehicleModelFactory)), + m_algorithm(move(algorithm)), + m_countryFileFn(countryFileFn) { } @@ -159,9 +158,9 @@ unique_ptr<IRouter> CreatePedestrianAStarRouter(Index & index, return router; } -unique_ptr<IRouter> CreatePedestrianAStarBidirectionalRouter(Index & index, - TMwmFileByPointFn const & countryFileFn, - TRoutingVisualizerFn const & visualizerFn) +unique_ptr<IRouter> CreatePedestrianAStarBidirectionalRouter( + Index & index, TMwmFileByPointFn const & countryFileFn, + TRoutingVisualizerFn const & visualizerFn) { unique_ptr<IVehicleModelFactory> vehicleModelFactory(new PedestrianModelFactory()); unique_ptr<IRoutingAlgorithm> algorithm(new AStarBidirectionalRoutingAlgorithm(visualizerFn)); |