From 9787fff9a0a33e12a32eb8628c6bc4b1ceb85b2b Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Wed, 10 Aug 2022 17:44:00 +0300 Subject: [PATCH] laced 'unsigned int' with Multiplicity type to avoid a conversion warning --- Surface_sweep_2/include/CGAL/Surface_sweep_2.h | 2 +- .../include/CGAL/Surface_sweep_2/Surface_sweep_2_impl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_sweep_2/include/CGAL/Surface_sweep_2.h b/Surface_sweep_2/include/CGAL/Surface_sweep_2.h index 1e3ec6edf75..2b9329a8476 100644 --- a/Surface_sweep_2/include/CGAL/Surface_sweep_2.h +++ b/Surface_sweep_2/include/CGAL/Surface_sweep_2.h @@ -222,7 +222,7 @@ protected: * \param c2 The second curve. */ void _create_intersection_point(const Point_2& xp, - unsigned int mult, + Multiplicity mult, Subcurve*& c1, Subcurve*& c2); }; diff --git a/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_impl.h b/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_impl.h index de98db8e9a0..59f8134dc25 100644 --- a/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_impl.h +++ b/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_impl.h @@ -773,7 +773,7 @@ void Surface_sweep_2::_intersect(Subcurve* c1, Subcurve* c2, // template void Surface_sweep_2::_create_intersection_point(const Point_2& xp, - unsigned int multiplicity, + Multiplicity multiplicity, Subcurve*& c1, Subcurve*& c2) {