[routing] review fixes

This commit is contained in:
Mikhail Gorbushin 2019-05-16 18:18:25 +03:00 committed by Vladimir Byko-Ianko
parent 8d069e9287
commit 7df84d8559
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -322,7 +322,7 @@ SingleVehicleWorldGraph::AreWavesConnectibleImpl(map<VertexType, VertexType> con
}
}
NumMwmId mwmId = GetCommonMwmInChain(chain);
NumMwmId const mwmId = GetCommonMwmInChain(chain);
if (mwmId == kFakeNumMwmId)
return true;