From 53eaf67c0600e155c659b30d04a937eb5faaadba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 27 Mar 2024 10:43:38 +0100 Subject: [PATCH] Try to fix "no declaration" error --- Isosurfacing_3/include/CGAL/Isosurfacing_3/IO/OBJ.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/IO/OBJ.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/IO/OBJ.h index 56128bda151..1f4cde8dd7f 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/IO/OBJ.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/IO/OBJ.h @@ -17,6 +17,7 @@ #include #include +#include #include #include @@ -43,7 +44,7 @@ bool write_OBJ(std::ostream& out, typename GeomTraits::Compute_z_3 z_coord = grid.geom_traits().compute_z_3_object(); typename GeomTraits::Construct_vertex_3 vertex = grid.geom_traits().construct_vertex_3_object(); - set_ascii_mode(out); // obj is ASCII only + ::CGAL::IO::set_ascii_mode(out); // obj is ASCII only set_stream_precision_from_NP(out, np);