diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2017-09-12 09:32:47 +0300 |
---|---|---|
committer | Yuri Gorshenin <mipt.vi002@gmail.com> | 2017-09-12 13:02:46 +0300 |
commit | 68a39ed0bb2ac82ac0e1ae567a22b9dc27f71cd9 (patch) | |
tree | 0173785cd6ddfac7c2e47a8187d295d4116faed6 /routing/index_router.cpp | |
parent | 5a60fef2e4acd3f79a87acc5512744b5adad56f0 (diff) |
git-clang-format
Diffstat (limited to 'routing/index_router.cpp')
-rw-r--r-- | routing/index_router.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/routing/index_router.cpp b/routing/index_router.cpp index 51d5310bfd..4066a9bd67 100644 --- a/routing/index_router.cpp +++ b/routing/index_router.cpp @@ -291,7 +291,8 @@ double IndexRouter::BestEdgeComparator::GetSquaredDist(Edge const & edge) const } // IndexRouter ------------------------------------------------------------------------------------ -IndexRouter::IndexRouter(VehicleType vehicleType, CountryParentNameGetterFn const & countryParentNameGetterFn, +IndexRouter::IndexRouter(VehicleType vehicleType, + CountryParentNameGetterFn const & countryParentNameGetterFn, TCountryFileFn const & countryFileFn, CourntryRectFn const & countryRectFn, shared_ptr<NumMwmIds> numMwmIds, unique_ptr<m4::Tree<NumMwmId>> numMwmTree, traffic::TrafficCache const & trafficCache, Index & index) @@ -305,10 +306,12 @@ IndexRouter::IndexRouter(VehicleType vehicleType, CountryParentNameGetterFn cons , m_numMwmTree(move(numMwmTree)) , m_trafficStash(CreateTrafficStash(m_vehicleType, m_numMwmIds, trafficCache)) , m_indexManager(countryFileFn, m_index) - , m_roadGraph(m_index, vehicleType == VehicleType::Pedestrian ? IRoadGraph::Mode::IgnoreOnewayTag - : IRoadGraph::Mode::ObeyOnewayTag, + , m_roadGraph(m_index, + vehicleType == VehicleType::Pedestrian ? IRoadGraph::Mode::IgnoreOnewayTag + : IRoadGraph::Mode::ObeyOnewayTag, m_vehicleModelFactory) - , m_estimator(EdgeEstimator::Create(m_vehicleType, CalcMaxSpeed(*m_numMwmIds, *m_vehicleModelFactory), m_trafficStash)) + , m_estimator(EdgeEstimator::Create( + m_vehicleType, CalcMaxSpeed(*m_numMwmIds, *m_vehicleModelFactory), m_trafficStash)) , m_directionsEngine(CreateDirectionsEngine(m_vehicleType, m_numMwmIds, m_index)) { CHECK(!m_name.empty(), ()); |