From 5331c7e7443e071d9cd0e3d00d84741d0b990c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 13 Mar 2024 17:59:08 +0100 Subject: [PATCH] move after definition of function used --- Stream_support/include/CGAL/IO/WKT.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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.