@@ -27,21 +27,21 @@ namespace geom {
2727
2828template <typename CHAR, typename TRAITS>
2929std::basic_ostream<CHAR, TRAITS> &
30- operator <<(std::basic_ostream<CHAR, TRAITS> &out, const nullgeom_t & /* input*/ )
30+ operator <<(std::basic_ostream<CHAR, TRAITS> &out, nullgeom_t const & /* input*/ )
3131{
3232 return out << " NULL" ;
3333}
3434
3535template <typename CHAR, typename TRAITS>
3636std::basic_ostream<CHAR, TRAITS> &
37- operator <<(std::basic_ostream<CHAR, TRAITS> &out, const point_t &input)
37+ operator <<(std::basic_ostream<CHAR, TRAITS> &out, point_t const &input)
3838{
3939 return out << input.x () << ' ' << input.y ();
4040}
4141
4242template <typename CHAR, typename TRAITS>
4343std::basic_ostream<CHAR, TRAITS> &
44- operator <<(std::basic_ostream<CHAR, TRAITS> &out, const point_list_t &input)
44+ operator <<(std::basic_ostream<CHAR, TRAITS> &out, point_list_t const &input)
4545{
4646 if (input.empty ()) {
4747 return out << " EMPTY" ;
@@ -56,7 +56,7 @@ operator<<(std::basic_ostream<CHAR, TRAITS> &out, const point_list_t &input)
5656
5757template <typename CHAR, typename TRAITS>
5858std::basic_ostream<CHAR, TRAITS> &
59- operator <<(std::basic_ostream<CHAR, TRAITS> &out, const polygon_t &input)
59+ operator <<(std::basic_ostream<CHAR, TRAITS> &out, polygon_t const &input)
6060{
6161 out << ' (' << input.outer () << ' )' ;
6262 for (auto const &ring : input.inners ()) {
@@ -67,7 +67,7 @@ operator<<(std::basic_ostream<CHAR, TRAITS> &out, const polygon_t &input)
6767
6868template <typename CHAR, typename TRAITS>
6969std::basic_ostream<CHAR, TRAITS> &
70- operator <<(std::basic_ostream<CHAR, TRAITS> &out, const collection_t &input)
70+ operator <<(std::basic_ostream<CHAR, TRAITS> &out, collection_t const &input)
7171{
7272 if (input.num_geometries () == 0 ) {
7373 return out << " EMPTY" ;
@@ -83,7 +83,7 @@ operator<<(std::basic_ostream<CHAR, TRAITS> &out, const collection_t &input)
8383template <typename CHAR, typename TRAITS, typename GEOM>
8484std::basic_ostream<CHAR, TRAITS> &
8585operator <<(std::basic_ostream<CHAR, TRAITS> &out,
86- const multigeometry_t <GEOM> &input)
86+ multigeometry_t <GEOM> const &input)
8787{
8888 if (input.num_geometries () == 0 ) {
8989 return out << " EMPTY" ;
@@ -98,7 +98,7 @@ operator<<(std::basic_ostream<CHAR, TRAITS> &out,
9898
9999template <typename CHAR, typename TRAITS>
100100std::basic_ostream<CHAR, TRAITS> &
101- operator <<(std::basic_ostream<CHAR, TRAITS> &out, const geometry_t &geom)
101+ operator <<(std::basic_ostream<CHAR, TRAITS> &out, geometry_t const &geom)
102102{
103103 out << geometry_type (geom) << ' (' ;
104104 geom.visit ([&](auto const &input) { out << input; });
0 commit comments