diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-01 19:26:45 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-25 17:48:14 +0300 |
commit | cd279936f61b50674a2bf19fa0a0a56a2bdf46f7 (patch) | |
tree | a5a8dc3a3da5d6254c44ba422cc5cf1562d5b165 /routing_common | |
parent | 108e092011683887330a9d2b3ee89e3c7103b731 (diff) |
Added maxspeed value for not specified maxspeed
Diffstat (limited to 'routing_common')
-rw-r--r-- | routing_common/maxspeed_conversion.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routing_common/maxspeed_conversion.hpp b/routing_common/maxspeed_conversion.hpp index 0886f10578..11d70fa987 100644 --- a/routing_common/maxspeed_conversion.hpp +++ b/routing_common/maxspeed_conversion.hpp @@ -160,6 +160,7 @@ enum class SpeedMacro : uint8_t uint16_t constexpr kInvalidSpeed = std::numeric_limits<uint16_t>::max(); uint16_t constexpr kNoneMaxSpeed = std::numeric_limits<uint16_t>::max() - 1; uint16_t constexpr kWalkMaxSpeed = std::numeric_limits<uint16_t>::max() - 2; +uint16_t constexpr kCommonMaxSpeedValue = std::numeric_limits<uint16_t>::max() - 3; class SpeedInUnits { |