Change stream operator of strong typedef
This commit is contained in:
parent
1bd67943bb
commit
72094acf74
@ -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