laced 'unsigned int' with Multiplicity type to avoid a conversion warning

This commit is contained in:
Efi Fogel 2022-08-10 17:44:00 +03:00
parent 10c0664207
commit 9787fff9a0
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ protected:
* \param c2 The second curve. * \param c2 The second curve.
*/ */
void _create_intersection_point(const Point_2& xp, void _create_intersection_point(const Point_2& xp,
unsigned int mult, Multiplicity mult,
Subcurve*& c1, Subcurve*& c1,
Subcurve*& c2); Subcurve*& c2);
}; };

View File

@ -773,7 +773,7 @@ void Surface_sweep_2<Vis>::_intersect(Subcurve* c1, Subcurve* c2,
// //
template <typename Vis> template <typename Vis>
void Surface_sweep_2<Vis>::_create_intersection_point(const Point_2& xp, void Surface_sweep_2<Vis>::_create_intersection_point(const Point_2& xp,
unsigned int multiplicity, Multiplicity multiplicity,
Subcurve*& c1, Subcurve*& c1,
Subcurve*& c2) Subcurve*& c2)
{ {