From dbdcdffaeb175fb6ecce3f52cf39576fcc1ced2d Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 25 Mar 2013 14:26:50 +0100 Subject: [PATCH] The default value of a parameter is used even if its name is not. Fixes: | commit 0cbc8b0e40447df3ca24525e4aa040ec28538264 | Author: Andreas Fabri | Date: Sat Mar 23 08:45:06 2013 +0100 | | remove unused parameters --- Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h index e253ba19936..f817baf5ac3 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h @@ -302,7 +302,7 @@ public: * \param p The point to set. * \pre p lies on the supporting line to the left of the right endpoint. */ - void set_left (const Point_2& p, bool CGAL_assertion_code(check_validity = true)) + void set_left (const Point_2& p, bool CGAL_assertion_code(check_validity) = true) { CGAL_precondition (! is_degen); @@ -404,7 +404,7 @@ public: * \param p The point to set. * \pre p lies on the supporting line to the right of the left endpoint. */ - void set_right (const Point_2& p, bool CGAL_assertion_code(check_validity = true)) + void set_right (const Point_2& p, bool CGAL_assertion_code(check_validity) = true) { CGAL_precondition (! is_degen); CGAL_precondition_code (