diff --git a/Stream_support/include/CGAL/IO/WKT.h b/Stream_support/include/CGAL/IO/WKT.h index f558c90aea2..3a3eea129d6 100644 --- a/Stream_support/include/CGAL/IO/WKT.h +++ b/Stream_support/include/CGAL/IO/WKT.h @@ -355,13 +355,6 @@ bool read_multi_polygon_WKT(std::istream& in, } -template -std::ostream& write_multi_polygon_WKT(std::ostream& out, - Multipolygon_with_holes_2& mp) -{ - return write_multi_polygon_WKT(out, mp.polygons_with_holes()); -} - //! \ingroup PkgStreamSupportIoFuncsWKT //! //! \brief writes `point` into a WKT stream. @@ -465,6 +458,13 @@ std::ostream& write_multi_polygon_WKT(std::ostream& out, return out; } +template +std::ostream& write_multi_polygon_WKT(std::ostream& out, + Multipolygon_with_holes_2& mp) +{ + return write_multi_polygon_WKT(out, mp.polygons_with_holes()); +} + //! \ingroup PkgStreamSupportIoFuncsWKT //! //! \brief writes the content of `mls` into a WKT stream.