diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_hausdorff_bounded_error_distance.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_hausdorff_bounded_error_distance.cpp index 8079da33ace..f7d54f0a9e2 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_hausdorff_bounded_error_distance.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_hausdorff_bounded_error_distance.cpp @@ -102,7 +102,7 @@ void get_meshes( template void save_mesh(const PolygonMesh& mesh, const std::string filepath) { - if (!CGAL::write_PLY(filepath + ".ply", mesh)) { + if (!CGAL::IO::write_PLY(filepath + ".ply", mesh)) { std::cerr << "ERROR: cannot save this file: " << filepath << std::endl; exit(EXIT_FAILURE); }