From e1c7254ffb9421c42e9d9fe322adf85fd05de680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 17 Oct 2022 10:30:42 +0200 Subject: [PATCH] fix conversion warnings --- Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h | 2 +- Envelope_3/include/CGAL/Env_sphere_traits_3.h | 2 +- 2 files changed, 2 insertions(+), 2 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 91104a216c1..079fac49c6e 100644 --- a/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h +++ b/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h @@ -454,7 +454,7 @@ protected: std::unordered_map m_visited; std::mt19937 m_rng; - std::uniform_int_distribution m_uni; // guaranteed unbiased + std::uniform_int_distribution m_uni; // guaranteed unbiased }; //! Basic viewer of a 2D arrangement. diff --git a/Envelope_3/include/CGAL/Env_sphere_traits_3.h b/Envelope_3/include/CGAL/Env_sphere_traits_3.h index 555e87e552b..bcf2228dbd5 100644 --- a/Envelope_3/include/CGAL/Env_sphere_traits_3.h +++ b/Envelope_3/include/CGAL/Env_sphere_traits_3.h @@ -598,7 +598,7 @@ public: Curve_2 inter_cv = ctr_cv(R, S, T, U, V, W); Alg_point_2 vtan_ps[2]; - CGAL_assertion_code(int n_vtan_ps =) + CGAL_assertion_code(std::size_t n_vtan_ps =) gt_2->vertical_tangency_points(inter_cv, vtan_ps); CGAL_assertion(n_vtan_ps == 2);