diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-09-10 19:19:07 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2019-09-19 15:10:26 +0300 |
commit | 8618d7c3046505b211f5fc3505dc65710a30d422 (patch) | |
tree | 68d703a6e43efcdccc5e7353420db47e59aaf8ea /routing | |
parent | 9780646f7ca6606711233e88ba2cf68ff7f90e5e (diff) |
[generator] Review fixes
Diffstat (limited to 'routing')
-rw-r--r-- | routing/cross_mwm_connector_serialization.hpp | 2 | ||||
-rw-r--r-- | routing/index_router.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/routing/cross_mwm_connector_serialization.hpp b/routing/cross_mwm_connector_serialization.hpp index 9fae407c9d..965eb02729 100644 --- a/routing/cross_mwm_connector_serialization.hpp +++ b/routing/cross_mwm_connector_serialization.hpp @@ -91,7 +91,7 @@ public: template <class Sink> void Serialize(uint32_t bitsPerCrossMwmId, uint8_t bitsPerMask, Sink & sink) const { - // TODO (@gmoryes) + // TODO (@gmoryes): // We do not use back and front point of segment in code, so we just write // zero to this 128 bits. Need to remove this data from mwm section. WriteVarUint<uint64_t>(sink, 0); diff --git a/routing/index_router.cpp b/routing/index_router.cpp index d690df972e..370dd7794a 100644 --- a/routing/index_router.cpp +++ b/routing/index_router.cpp @@ -557,7 +557,7 @@ RouterResultCode IndexRouter::CalculateSubroute(Checkpoints const & checkpoints, starter.GetGraph().SetMode(WorldGraphMode::Joints); break; case VehicleType::Transit: - starter.GetGraph().SetMode(WorldGraphMode::Joints); + starter.GetGraph().SetMode(WorldGraphMode::NoLeaps); break; case VehicleType::Car: starter.GetGraph().SetMode(AreMwmsNear(starter) ? WorldGraphMode::Joints |