The default value of a parameter is used even if its name is not.
Fixes:
| commit 0cbc8b0e40
| Author: Andreas Fabri <andreas.fabri@geometryfactory.com>
| Date: Sat Mar 23 08:45:06 2013 +0100
|
| remove unused parameters
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user