diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-05 12:03:31 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-25 17:48:15 +0300 |
commit | d5765ded6cbabe022e55f2391c040aa3044564ad (patch) | |
tree | 8172b8e31680a4df0e14e0dafb82327749d7c584 /track_analyzing | |
parent | 53f52b556cac5b838ee3cf6fbd6a666707fa844a (diff) |
[routing] Using alias instead of uint16_t for maxspeed.
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_analyzer/cmd_table.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/track_analyzing/track_analyzer/cmd_table.cpp b/track_analyzing/track_analyzer/cmd_table.cpp index 177a2ea2d5..f0df0361fa 100644 --- a/track_analyzing/track_analyzer/cmd_table.cpp +++ b/track_analyzing/track_analyzer/cmd_table.cpp @@ -46,7 +46,7 @@ using namespace track_analyzing; namespace { -uint16_t constexpr kMaxspeedTopBound = 200; +MaxspeedType constexpr kMaxspeedTopBound = 200; string TypeToString(uint32_t type) { @@ -189,7 +189,7 @@ struct RoadInfo } CarModelTypes::Type m_type; - uint16_t m_maxspeedKMpH = kInvalidSpeed; + MaxspeedType m_maxspeedKMpH = kInvalidSpeed; bool m_isCityRoad = false; bool m_isOneWay = false; }; |