Fix missing headers in hint.hpp
This commit is contained in:
		
							parent
							
								
									19d5912a93
								
							
						
					
					
						commit
						9258791811
					
				| @ -5,8 +5,12 @@ | |||||||
| #include "engine/phantom_node.hpp" | #include "engine/phantom_node.hpp" | ||||||
| 
 | 
 | ||||||
| #include <boost/assert.hpp> | #include <boost/assert.hpp> | ||||||
|  | 
 | ||||||
|  | #include <cstdint> | ||||||
| #include <cmath> | #include <cmath> | ||||||
| 
 | 
 | ||||||
|  | #include <string> | ||||||
|  | 
 | ||||||
| namespace osrm | namespace osrm | ||||||
| { | { | ||||||
| namespace engine | namespace engine | ||||||
| @ -28,11 +32,7 @@ struct Hint | |||||||
|                facade.GetCheckSum() == data_checksum; |                facade.GetCheckSum() == data_checksum; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     std::string ToBase64() const |     std::string ToBase64() const { return encodeBase64(*this); } | ||||||
|     { |  | ||||||
|         std::string encoded = encodeBase64(*this); |  | ||||||
|         return encoded; |  | ||||||
|     } |  | ||||||
| 
 | 
 | ||||||
|     static Hint FromBase64(const std::string &base64Hint) |     static Hint FromBase64(const std::string &base64Hint) | ||||||
|     { |     { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user