@@ -2230,11 +2230,10 @@ class Conforming_constrained_Delaunay_triangulation_3_impl : public Conforming_D
22302230 } // end of `remove_Steiner_vertex_from_cdt_2`
22312231
22322232 bool move_one_Steiner_vertex_to_the_volume (Vertex_handle v) {
2233- std::optional<decltype (CGAL::IO::make_indenting_guards (" | " ))> indent_guards;
22342233 if (this ->debug ().move_Steiner_vertices ()) {
22352234 std::cerr << " Moving Steiner vertex " << display_vert (v) << " to the volume\n " ;
2236- indent_guards.emplace (IO::make_indenting_guards (" |" ));
22372235 }
2236+ auto indent_guards = CGAL::IO::make_indenting_guards (this ->debug ().move_Steiner_vertices () ? " | " : " " );
22382237
22392238 const auto incident_constrained_facet_opt =
22402239 find_in_incident_facets (v, [this ](Facet f) { return is_facet_constrained (f); });
@@ -5586,16 +5585,15 @@ class Conforming_constrained_Delaunay_triangulation_3_impl : public Conforming_D
55865585 };
55875586
55885587 auto test_cell = [&](Cell_handle cell) {
5589- std::optional<decltype (CGAL::IO::make_indenting_guards (" | " ))> indent_guards;
55905588 if constexpr (cdt_3_can_use_cxx20_format ()) if (this ->debug ().regions ()) {
55915589 std::cerr << cdt_3_format (" test_cell #{}\n {}\n {}\n {}\n {}\n " ,
55925590 cell->time_stamp (),
55935591 IO::oformat (cell->vertex (0 ), with_point_and_info),
55945592 IO::oformat (cell->vertex (1 ), with_point_and_info),
55955593 IO::oformat (cell->vertex (2 ), with_point_and_info),
55965594 IO::oformat (cell->vertex (3 ), with_point_and_info));
5597- indent_guards.emplace (CGAL::IO::make_indenting_guards (" | " ));
55985595 }
5596+ auto indent_guards = CGAL::IO::make_indenting_guards (this ->debug ().regions () ? " | " : " " );
55995597 bool does_intersect = false ;
56005598 for (int i = 0 ; i < 4 ; ++i) {
56015599 const auto v0 = cell->vertex (i);
0 commit comments