Change stream operator of strong typedef
This commit is contained in:
		
							parent
							
								
									e5efee2dd8
								
							
						
					
					
						commit
						4ce786b357
					
				| @ -38,7 +38,7 @@ namespace osrm | |||||||
|     };                                                                                             \ |     };                                                                                             \ | ||||||
|     inline std::ostream &operator<<(std::ostream &stream, const To &inst)                          \ |     inline std::ostream &operator<<(std::ostream &stream, const To &inst)                          \ | ||||||
|     {                                                                                              \ |     {                                                                                              \ | ||||||
|         return stream << #To << '(' << inst.x << ')';                                              \ |         return stream << inst.x;                                                                   \ | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| #define OSRM_STRONG_TYPEDEF_HASHABLE(From, To)                                                     \ | #define OSRM_STRONG_TYPEDEF_HASHABLE(From, To)                                                     \ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user