Runs scripts/format.sh

This commit is contained in:
Daniel J. Hofmann
2016-03-03 14:26:13 +01:00
committed by Patrick Niklaus
parent 4d56b8ff0d
commit 9338d418c8
70 changed files with 457 additions and 399 deletions
+5 -3
View File
@@ -195,11 +195,13 @@ struct RectangleInt2D
return lons_contained && lats_contained;
}
friend std::ostream& operator<<(std::ostream& out, const RectangleInt2D& rect);
friend std::ostream &operator<<(std::ostream &out, const RectangleInt2D &rect);
};
inline std::ostream& operator<<(std::ostream& out, const RectangleInt2D& rect)
inline std::ostream &operator<<(std::ostream &out, const RectangleInt2D &rect)
{
out << std::setprecision(12) << "(" << toFloating(rect.min_lon) << "," << toFloating(rect.max_lon) << "," << toFloating(rect.min_lat) << "," << toFloating(rect.max_lat) << ")";
out << std::setprecision(12) << "(" << toFloating(rect.min_lon) << ","
<< toFloating(rect.max_lon) << "," << toFloating(rect.min_lat) << ","
<< toFloating(rect.max_lat) << ")";
return out;
}
}