Missing output operator<< for Coordinates
This commit is contained in:
parent
88cfb538bd
commit
bd7aa1cc7b
@ -76,6 +76,11 @@ struct _Coordinate {
|
||||
_Coordinate (int t, int n) : lat(t) , lon(n) {}
|
||||
};
|
||||
|
||||
ostream & operator<<(ostream & out, const _Coordinate & c){
|
||||
out << "(" << c.lat << "," << c.lon << ")";
|
||||
return out;
|
||||
}
|
||||
|
||||
struct _Way {
|
||||
_Way() {
|
||||
direction = _Way::notSure;
|
||||
|
Loading…
Reference in New Issue
Block a user