mirror of https://github.com/CGAL/cgal
Bugfix: do not use std::pair in Line_3 to avoid is_convertible trouble with clang c++11
This commit is contained in:
parent
0c917c5880
commit
2cbaad50da
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef CGAL_CARTESIAN_LINE_3_H
|
||||
#define CGAL_CARTESIAN_LINE_3_H
|
||||
|
||||
#include <utility>
|
||||
#include <CGAL/Handle_for.h>
|
||||
|
||||
namespace CGAL {
|
||||
|
|
@ -42,7 +41,12 @@ class LineC3
|
|||
typedef typename R_::Line_3 Line_3;
|
||||
typedef typename R_::Segment_3 Segment_3;
|
||||
|
||||
typedef std::pair<Point_3, Vector_3> Rep;
|
||||
struct Rep
|
||||
{
|
||||
Point_3 first;
|
||||
Vector_3 second;
|
||||
};
|
||||
|
||||
typedef typename R_::template Handle<Rep>::type Base;
|
||||
|
||||
Base base;
|
||||
|
|
|
|||
Loading…
Reference in New Issue