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