diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-05-16 18:18:25 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2019-05-17 12:52:46 +0300 |
commit | 7df84d85594d16f1045c4897a6d1794f2581b88c (patch) | |
tree | cebecd2f385a259ef5e6ea6ca81437d0cc0f196e /routing | |
parent | 8d069e92879081c37736e26fd0c8df61ada704f8 (diff) |
[routing] review fixes
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_integration_tests/route_test.cpp | 8 | ||||
-rw-r--r-- | routing/single_vehicle_world_graph.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/routing/routing_integration_tests/route_test.cpp b/routing/routing_integration_tests/route_test.cpp index 4abbf68a60..1abf9cb1b4 100644 --- a/routing/routing_integration_tests/route_test.cpp +++ b/routing/routing_integration_tests/route_test.cpp @@ -454,12 +454,12 @@ namespace } // TODO (@gmoryes) uncomment this after many-via restrictions will be in mwms. - /* +/* UNIT_TEST(SpainRestirctionOnlyMany) { integration::CalculateRouteAndTestRouteLength( integration::GetVehicleComponents(VehicleType::Car), - MercatorBounds::FromLatLon(43.38234, -5.67648), {0., 0.}, + MercatorBounds::FromLatLon(43.38234, -5.67648), {0.0, 0.0}, MercatorBounds::FromLatLon(43.38222, -5.69083), 8289.0); } @@ -467,8 +467,8 @@ namespace { integration::CalculateRouteAndTestRouteLength( integration::GetVehicleComponents(VehicleType::Car), - MercatorBounds::FromLatLon(55.991578, 37.212476), {0., 0.}, + MercatorBounds::FromLatLon(55.991578, 37.212476), {0.0, 0.0}, MercatorBounds::FromLatLon(55.991845, 37.215312), 799.0); } - */ +*/ } // namespace diff --git a/routing/single_vehicle_world_graph.cpp b/routing/single_vehicle_world_graph.cpp index dd0ca951d9..b912ba51f8 100644 --- a/routing/single_vehicle_world_graph.cpp +++ b/routing/single_vehicle_world_graph.cpp @@ -322,7 +322,7 @@ SingleVehicleWorldGraph::AreWavesConnectibleImpl(map<VertexType, VertexType> con } } - NumMwmId mwmId = GetCommonMwmInChain(chain); + NumMwmId const mwmId = GetCommonMwmInChain(chain); if (mwmId == kFakeNumMwmId) return true; |