Follow-up to the following commit:

| commit f202656ca4
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Mar 1 10:45:02 2013 +0100
  |
  |     Fix warnings in Aos_2
  |
  |     LLVM/clang can display warnings even for functions that are not used,
  |     during the parsing of the code, before the compilation, when it can.

Aos_2 has two constructors and I had modified the code in only one of them.
This commit is contained in:
Laurent Rineau 2013-03-04 12:09:22 +01:00
parent 8778c753f2
commit 01e83dfb0a
1 changed files with 4 additions and 4 deletions

View File

@ -115,28 +115,28 @@ Arrangement_on_surface_2(const Geometry_traits_2 * geom_traits) :
typedef internal::Validate_left_side_category< GeomTraits, Cond_left::value > typedef internal::Validate_left_side_category< GeomTraits, Cond_left::value >
Validate_left_side_category; Validate_left_side_category;
void (Validate_left_side_category::*pleft)(void) = void (Validate_left_side_category::*pleft)(void) =
&Validate_left_side_category::missing__Left_side_category; &Validate_left_side_category::template missing__Left_side_category<int>;
(void)pleft; (void)pleft;
typedef has_Bottom_side_category<GeomTraits> Cond_bottom; typedef has_Bottom_side_category<GeomTraits> Cond_bottom;
typedef internal::Validate_bottom_side_category< GeomTraits, Cond_bottom::value > typedef internal::Validate_bottom_side_category< GeomTraits, Cond_bottom::value >
Validate_bottom_side_category; Validate_bottom_side_category;
void (Validate_bottom_side_category::*pbottom)(void) = void (Validate_bottom_side_category::*pbottom)(void) =
&Validate_bottom_side_category::missing__Bottom_side_category; &Validate_bottom_side_category::template missing__Bottom_side_category<int>;
(void)pbottom; (void)pbottom;
typedef has_Top_side_category<GeomTraits> Cond_top; typedef has_Top_side_category<GeomTraits> Cond_top;
typedef internal::Validate_top_side_category< GeomTraits, Cond_top::value > typedef internal::Validate_top_side_category< GeomTraits, Cond_top::value >
Validate_top_side_category; Validate_top_side_category;
void (Validate_top_side_category::*ptop)(void) = void (Validate_top_side_category::*ptop)(void) =
&Validate_top_side_category::missing__Top_side_category; &Validate_top_side_category::template missing__Top_side_category<int>;
(void)ptop; (void)ptop;
typedef has_Right_side_category<GeomTraits> Cond_right; typedef has_Right_side_category<GeomTraits> Cond_right;
typedef internal::Validate_right_side_category< GeomTraits, Cond_right::value > typedef internal::Validate_right_side_category< GeomTraits, Cond_right::value >
Validate_right_side_category; Validate_right_side_category;
void (Validate_right_side_category::*pright)(void) = void (Validate_right_side_category::*pright)(void) =
&Validate_right_side_category::missing__Right_side_category; &Validate_right_side_category::template missing__Right_side_category<int>;
(void)pright; (void)pright;
// Initialize the DCEL structure to represent an empty arrangement. // Initialize the DCEL structure to represent an empty arrangement.