Used the traits adaptor for traits types (instead of the traits itself).

This commit is contained in:
Efi Fogel 2018-10-06 18:53:17 +03:00
parent 5afbc4985a
commit 2df88cb4de
1 changed files with 136 additions and 136 deletions

View File

@ -460,7 +460,7 @@ compare_y_at_end(const X_monotone_curve_2& xcv1,
{
CGAL_precondition(traits->is_in_x_range_2_object()(xcv1, xcv2));
typedef typename Traits::Compare_xy_2 Compare_xy_2;
typedef typename Traits_adaptor_2::Compare_xy_2 Compare_xy_2;
typedef typename Traits::Compare_y_at_x_2 Compare_y_at_x_2;
typedef typename Traits::Construct_min_vertex_2 Construct_min_vertex_2;
typedef typename Traits::Construct_max_vertex_2 Construct_max_vertex_2;