diff --git a/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h b/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h index 2e93e929782..35726c19313 100644 --- a/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h +++ b/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h @@ -24,6 +24,10 @@ #include +#include +#include +#include +#include #include #include #include diff --git a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h index d362415371d..e41b3da6d39 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h @@ -2032,13 +2032,17 @@ private: //------------------------------------------------------- private data return os.good(); } + template + bool write_off(std::ostream& os, const Surface_mesh

& sm) { + return write_off(os, sm, CGAL::parameters::all_default()); + } /// \relates Surface_mesh /// /// This operator calls `write_off(std::ostream& os, const CGAL::Surface_mesh& sm)`. template std::ostream& operator<<(std::ostream& os, const Surface_mesh

& sm) { - write_off(os, sm); + write_off(os, sm, CGAL::parameters::all_default()); return os; }