From 01e83dfb0ac942bcc98063aee4a9335af1e75c99 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 4 Mar 2013 12:09:22 +0100 Subject: [PATCH] Follow-up to the following commit: | commit f202656ca443f9b36613348945794081f97f5e32 | Author: Laurent Rineau | 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. --- .../CGAL/Arrangement_2/Arrangement_on_surface_2_impl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_on_surface_2_impl.h b/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_on_surface_2_impl.h index ee5d05348c6..7bb10b0a5ee 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_on_surface_2_impl.h +++ b/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_on_surface_2_impl.h @@ -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; (void)pleft; typedef has_Bottom_side_category 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; (void)pbottom; typedef has_Top_side_category 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; (void)ptop; typedef has_Right_side_category 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; (void)pright; // Initialize the DCEL structure to represent an empty arrangement.