mirror of https://github.com/CGAL/cgal
Used the traits adaptor for traits types (instead of the traits itself).
This commit is contained in:
parent
5afbc4985a
commit
2df88cb4de
|
|
@ -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;
|
||||
|
|
@ -1055,7 +1055,7 @@ _append_vertex(Envelope_diagram_1& diag,
|
|||
// (or maximization) diagram.
|
||||
//
|
||||
template <class Traits, class Diagram>
|
||||
void Envelope_divide_and_conquer_2<Traits,Diagram>::
|
||||
void Envelope_divide_and_conquer_2<Traits, Diagram>::
|
||||
_merge_vertical_segments(Curve_pointer_vector& vert_vec,
|
||||
Envelope_diagram_1& out_d)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue