Use stdint and using type-alias for discrete angle
This commit is contained in:
parent
5f4424482e
commit
d5a3d817aa
@ -1,6 +1,8 @@
|
||||
#ifndef OSRM_EXTRACTOR_GUIDANCE_DISCRETE_ANGLE
|
||||
#define OSRM_EXTRACTOR_GUIDANCE_DISCRETE_ANGLE
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
namespace extractor
|
||||
@ -8,7 +10,8 @@ namespace extractor
|
||||
namespace guidance
|
||||
{
|
||||
|
||||
typedef uint8_t DiscreteAngle;
|
||||
using DiscreteAngle = std::uint8_t;
|
||||
|
||||
} // namespace guidance
|
||||
} // namespace extractor
|
||||
} // namespace osrm
|
||||
|
Loading…
Reference in New Issue
Block a user