mirror of https://github.com/CGAL/cgal
fix deprecation warning
This commit is contained in:
parent
b0a2bc786d
commit
fb8313a77d
|
|
@ -752,7 +752,7 @@ namespace internal {
|
|||
const Line_2& line_2,
|
||||
Point_2& in_point) const {
|
||||
|
||||
typename std::result_of<Intersect_2(Line_2, Line_2)>::type result
|
||||
typename CGAL::cpp11::result_of<Intersect_2(Line_2, Line_2)>::type result
|
||||
= CGAL::intersection(line_1, line_2);
|
||||
if (result) {
|
||||
if (const Line_2* line = boost::get<Line_2>(&*result)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue