Bugfix: do not use std::pair in Line_3 to avoid is_convertible trouble with clang c++11

This commit is contained in:
Simon Giraudot 2015-12-16 12:25:56 +01:00
parent 0c917c5880
commit 2cbaad50da
1 changed files with 6 additions and 2 deletions

View File

@ -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;