diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-09-14 16:16:34 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-09-20 18:05:43 +0300 |
commit | bf4661a690ca489ccb0c811dd0e426ea1f41a44b (patch) | |
tree | 1b66323d29c598bb0b890dc8812ec83b224d7ac9 /routing_common | |
parent | 00d7fb87185b345b460bb34773081bad6e30b8d3 (diff) |
Renaming CityRoadsLoader to CityRoads and changing the code according to it.
Diffstat (limited to 'routing_common')
-rw-r--r-- | routing_common/vehicle_model.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routing_common/vehicle_model.cpp b/routing_common/vehicle_model.cpp index af32d54c1a..940ef172b4 100644 --- a/routing_common/vehicle_model.cpp +++ b/routing_common/vehicle_model.cpp @@ -86,6 +86,8 @@ VehicleModel::SpeedKMpH VehicleModel::GetSpeed(FeatureType & f) const feature::TypesHolder const types(f); RoadAvailability const restriction = GetRoadAvailability(types); + // TODO(bykoianko) If a road is available, a speed according to city status (CityRoads) + // should be returned. if (restriction == RoadAvailability::Available) return GetMaxSpeed(); if (restriction != RoadAvailability::NotAvailable && HasRoadType(types)) |