Fix with -DCGAL_NO_DEPRECATED_CODE

This commit is contained in:
Laurent Rineau 2023-02-14 13:27:46 +01:00
parent 9e277981ed
commit 01e75ef345
2 changed files with 5 additions and 0 deletions

View File

@ -622,6 +622,7 @@ public:
#ifdef CGAL_CDT_2_DEBUG_INTERSECTIONS
auto display_vertex(Vertex_handle v) const {
With_point_tag point_tag;
using CGAL::IO::oformat;
return oformat(v, point_tag);
}
#endif // CGAL_CDT_2_DEBUG_INTERSECTIONS

View File

@ -862,6 +862,7 @@ insert_constraint(T va, T vb){
Context_list* fathers;
#ifdef CGAL_CDT_2_DEBUG_INTERSECTIONS
using CGAL::IO::oformat;
std::cerr << CGAL::internal::cdt_2_indent_level
<< "C_hierachy.insert_constraint( "
<< oformat(va) << ", " << oformat(vb) << ")\n";
@ -896,6 +897,7 @@ insert_constraint_old_API(T va, T vb){
Context_list* fathers;
#ifdef CGAL_CDT_2_DEBUG_INTERSECTIONS
using CGAL::IO::oformat;
std::cerr << CGAL::internal::cdt_2_indent_level
<< "C_hierachy.insert_constraint_old_API( "
<< oformat(va) << ", " << oformat(vb) << ")\n";
@ -928,6 +930,7 @@ append_constraint(Constraint_id cid, T va, T vb){
Context_list* fathers;
#ifdef CGAL_CDT_2_DEBUG_INTERSECTIONS
using CGAL::IO::oformat;
std::cerr << CGAL::internal::cdt_2_indent_level
<< "C_hierachy.append_constraint( ..., "
<< oformat(va) << ", " << oformat(vb) << ")\n";
@ -1044,6 +1047,7 @@ void
Polyline_constraint_hierarchy_2<T,Compare,Point>::
add_Steiner(T va, T vb, T vc){
#ifdef CGAL_CDT_2_DEBUG_INTERSECTIONS
using CGAL::IO::oformat;
std::cerr << CGAL::internal::cdt_2_indent_level
<< "C_hierachy.add_Steinter( "
<< oformat(va) << ", " << oformat(vb) << ", " << oformat(vc)