Use stdint and using type-alias for discrete angle

This commit is contained in:
Daniel J. Hofmann 2016-03-03 17:22:57 +01:00 committed by Patrick Niklaus
parent 5f4424482e
commit d5a3d817aa

View File

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