mirror of https://github.com/CGAL/cgal
fix conversion warnings
This commit is contained in:
parent
d8fb80551c
commit
e1c7254ffb
|
|
@ -454,7 +454,7 @@ protected:
|
||||||
std::unordered_map<Face_const_handle, bool> m_visited;
|
std::unordered_map<Face_const_handle, bool> m_visited;
|
||||||
|
|
||||||
std::mt19937 m_rng;
|
std::mt19937 m_rng;
|
||||||
std::uniform_int_distribution<size_t> m_uni; // guaranteed unbiased
|
std::uniform_int_distribution<unsigned char> m_uni; // guaranteed unbiased
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Basic viewer of a 2D arrangement.
|
//! Basic viewer of a 2D arrangement.
|
||||||
|
|
|
||||||
|
|
@ -598,7 +598,7 @@ public:
|
||||||
Curve_2 inter_cv = ctr_cv(R, S, T, U, V, W);
|
Curve_2 inter_cv = ctr_cv(R, S, T, U, V, W);
|
||||||
Alg_point_2 vtan_ps[2];
|
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);
|
gt_2->vertical_tangency_points(inter_cv, vtan_ps);
|
||||||
|
|
||||||
CGAL_assertion(n_vtan_ps == 2);
|
CGAL_assertion(n_vtan_ps == 2);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue