From ade16fc7d778a3567f366391b000b6d945c521e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 17 Oct 2022 14:12:41 +0200 Subject: [PATCH] fix warnings --- Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h b/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h index 98243ddc9d7..2e705f9224d 100644 --- a/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h +++ b/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h @@ -131,7 +131,7 @@ public: CGAL::Bbox_2 bbox; for (auto it = m_arr.vertices_begin(); it != m_arr.vertices_end(); ++it) { bh::if_(has_approximate_2_object(Gt{}), - [&](auto& x) { + [&](auto& /* x */) { const auto* traits = this->m_arr.geometry_traits(); auto approx = traits->approximate_2_object(); auto has_operator = @@ -298,7 +298,7 @@ protected: while (curr->face() == curr->twin()->face()) curr = curr->twin()->next(); bh::if_(has_approximate_2_object(Gt{}), - [&](auto& x) { + [&](auto& /* x */) { auto approx = traits->approximate_2_object(); auto has_operator = bh::is_valid(can_call_operator_curve{}); @@ -366,7 +366,7 @@ protected: bh::is_valid([](auto&& x) -> decltype(x.approximate_2_object()){}); const auto* traits = this->m_arr.geometry_traits(); bh::if_(has_approximate_2_object(Gt{}), - [&](auto& x) { + [&](auto& /* x */) { auto approx = traits->approximate_2_object(); auto has_operator = bh::is_valid(can_call_operator_curve{}); bh::if_(has_operator(approx),