diff --git a/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CA_1.h b/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CA_1.h index 9899bde527a..ff9d3be7b92 100644 --- a/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CA_1.h +++ b/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CA_1.h @@ -252,9 +252,11 @@ public: /*!\brief * copy constructor */ +#ifdef DOXYGEN_RUNNING Status_line_CA_1(const Self& p) : Base(static_cast(p)) { } +#endif /*!\brief * constructs a status line over the \c i-th interval with x-coordinate diff --git a/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CPA_1.h b/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CPA_1.h index e618f97359e..b24bbb4815e 100644 --- a/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CPA_1.h +++ b/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Status_line_CPA_1.h @@ -174,10 +174,12 @@ public: /*!\brief * copy constructor */ +#ifdef DOXYGEN_RUNNING Status_line_CPA_1(const Self& p) : Base(static_cast(p)) { } - +#endif + /*!\brief * constructs undefined status line */ diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_rat_arc/Algebraic_point_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_rat_arc/Algebraic_point_2.h index 836fdf16ba0..6f532101d8c 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_rat_arc/Algebraic_point_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_rat_arc/Algebraic_point_2.h @@ -89,6 +89,15 @@ public: _rational_function(rational_function), _x_coordinate(x_coordinate) {} + Algebraic_point_2_rep(const Algebraic_point_2_rep& other) + { + if (this != &other) // protect against invalid self-assignment + { + _rational_function = other._rational_function; + _x_coordinate = other._x_coordinate; + } + } + //assignment oparator Algebraic_point_2_rep& operator=(const Algebraic_point_2_rep& other) { diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h index e92ca5ed945..52a0d51a6eb 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Arc_2.h @@ -382,10 +382,11 @@ public: /*!\brief * copy constructor */ +#ifdef DOXYGEN_RUNNING Arc_2(const Self& a) : Base(static_cast(a)) { } - +#endif //!@} public: diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h index 4f034795e13..036c132f4f3 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h @@ -150,10 +150,12 @@ public: /*!\brief * copy constructor */ +#ifdef DOXYGEN_RUNNING Generic_arc_2(const Self& p) : Base(static_cast(p)) { } - +#endif + /*!\brief * constructs an arc from a given represenation */ diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h index 26173e4aa7f..4279898ef41 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h @@ -131,10 +131,11 @@ public: /*!\brief * copy constructor */ +#ifdef DOXYGEN_RUNNING Generic_point_2(const Self& p) : Base(static_cast(p)) { } - +#endif /*!\brief * constructs an arc from a given represenation */ diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Point_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Point_2.h index 2260f6b92bc..d00859f803f 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Point_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Point_2.h @@ -256,10 +256,11 @@ public: /*!\brief * copy constructor */ +#ifdef DOXYGEN_RUNNING Point_2(const Self& p) : Base(static_cast(p)) { } - +#endif //!@} public: