Missing output operator<< for Coordinates

This commit is contained in:
Dennis Luxen 2011-06-15 21:01:36 +00:00
parent 88cfb538bd
commit bd7aa1cc7b

View File

@ -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;