forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
3a1e44f4d5
commit
2eb7b094f8
2 changed files with 3 additions and 0 deletions
|
@ -297,6 +297,7 @@ unique_ptr<SingleMwmRouter> SingleMwmRouter::CreateCarRouter(
|
|||
TCountryFileFn const & countryFileFn, shared_ptr<NumMwmIds> numMwmIds,
|
||||
traffic::TrafficCache const & trafficCache, Index & index)
|
||||
{
|
||||
CHECK(numMwmIds, ());
|
||||
auto vehicleModelFactory = make_shared<CarModelFactory>();
|
||||
// @TODO Bicycle turn generation engine is used now. It's ok for the time being.
|
||||
// But later a special car turn generation engine should be implemented.
|
||||
|
|
|
@ -40,6 +40,8 @@ public:
|
|||
Route & route) override;
|
||||
|
||||
void SetCountry(string const & country) { m_country = country; }
|
||||
|
||||
/// \note |numMwmIds| should not be null.
|
||||
static unique_ptr<SingleMwmRouter> CreateCarRouter(TCountryFileFn const & countryFileFn,
|
||||
shared_ptr<NumMwmIds> numMwmIds,
|
||||
traffic::TrafficCache const & trafficCache,
|
||||
|
|
Loading…
Add table
Reference in a new issue