diff --git a/Cartesian_kernel/include/CGAL/Cartesian/Line_3.h b/Cartesian_kernel/include/CGAL/Cartesian/Line_3.h index 9a2864ad138..85f9fb77699 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian/Line_3.h +++ b/Cartesian_kernel/include/CGAL/Cartesian/Line_3.h @@ -25,7 +25,6 @@ #ifndef CGAL_CARTESIAN_LINE_3_H #define CGAL_CARTESIAN_LINE_3_H -#include #include namespace CGAL { @@ -42,7 +41,15 @@ class LineC3 typedef typename R_::Line_3 Line_3; typedef typename R_::Segment_3 Segment_3; - typedef std::pair Rep; + struct Rep + { + Point_3 first; + Vector_3 second; + Rep () : first(), second() { } + Rep (const Point_3& p, const Vector_3& v) : first(p), second(v) { } + Rep (const Rep& r) : first(r.first), second(r.second) { } + }; + typedef typename R_::template Handle::type Base; Base base;