mirror of https://github.com/CGAL/cgal
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:
parent
8778c753f2
commit
01e83dfb0a
|
|
@ -115,28 +115,28 @@ Arrangement_on_surface_2(const Geometry_traits_2 * geom_traits) :
|
|||
typedef internal::Validate_left_side_category< GeomTraits, Cond_left::value >
|
||||
Validate_left_side_category;
|
||||
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;
|
||||
|
||||
typedef has_Bottom_side_category<GeomTraits> Cond_bottom;
|
||||
typedef internal::Validate_bottom_side_category< GeomTraits, Cond_bottom::value >
|
||||
Validate_bottom_side_category;
|
||||
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;
|
||||
|
||||
typedef has_Top_side_category<GeomTraits> Cond_top;
|
||||
typedef internal::Validate_top_side_category< GeomTraits, Cond_top::value >
|
||||
Validate_top_side_category;
|
||||
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;
|
||||
|
||||
typedef has_Right_side_category<GeomTraits> Cond_right;
|
||||
typedef internal::Validate_right_side_category< GeomTraits, Cond_right::value >
|
||||
Validate_right_side_category;
|
||||
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;
|
||||
|
||||
// Initialize the DCEL structure to represent an empty arrangement.
|
||||
|
|
|
|||
Loading…
Reference in New Issue