From 282d5e8c7b002c8a92e8efa2d90dbe7e57b9605e Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Fri, 15 Apr 2022 12:43:30 +0200 Subject: [PATCH] replace nullptr --- Linear_cell_complex/include/CGAL/draw_linear_cell_complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linear_cell_complex/include/CGAL/draw_linear_cell_complex.h b/Linear_cell_complex/include/CGAL/draw_linear_cell_complex.h index 73f360debfa..5c96fe32c64 100644 --- a/Linear_cell_complex/include/CGAL/draw_linear_cell_complex.h +++ b/Linear_cell_complex/include/CGAL/draw_linear_cell_complex.h @@ -247,7 +247,7 @@ protected: Point p1 = lcc->point(dh); Dart_const_handle d2 = lcc->other_extremity(dh); - if (d2!=nullptr) + if (d2!=lcc->null_handle) { if (m_drawing_functor.colored_edge(*lcc, dh)) { add_segment(p1, lcc->point(d2), m_drawing_functor.edge_color(*lcc, dh)); }