From f3e547f73838da56f1044fa2d08107561b97454e Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 11 Jan 2024 09:45:05 +0000 Subject: [PATCH] Parabola_segment_2: turn it into a struct --- Apollonius_graph_2/include/CGAL/Parabola_segment_2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h b/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h index 7c03ff5d5e5..20883169ba7 100644 --- a/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h +++ b/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h @@ -27,7 +27,7 @@ namespace Qt { } template < class Gt > -class Parabola_segment_2 : public Parabola_2< Gt > +struct Parabola_segment_2 : public Parabola_2< Gt > { typedef CGAL::Parabola_2 Base; typedef typename Base::Site_2 Site_2; @@ -39,10 +39,10 @@ class Parabola_segment_2 : public Parabola_2< Gt > using Base::t; using Base::f; -protected: + Point_2 p1, p2; -public: + Parabola_segment_2() : Parabola_2< Gt >() {} template