Skip to content

Commit

Permalink
Move code to initializer list
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Nov 14, 2023
1 parent d9dcc9c commit 710ef72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Nef_S2/include/CGAL/Nef_S2/Sphere_segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ template <class R_> class Sphere_segment_rep
typedef Sphere_segment_rep<R_> Rep;
friend class Sphere_segment<R_>;
public:
Sphere_segment_rep() { ps_ = pt_ = Point(); c_ = Circle(); }

Sphere_segment_rep() :
ps_(), pt_(), c_()
{}

Sphere_segment_rep(const Point& p1, const Point& p2,
bool shorter_arc=true) :
Expand Down

0 comments on commit 710ef72

Please sign in to comment.