fix deprecation warning

This commit is contained in:
Sébastien Loriot 2022-05-05 18:50:46 +02:00
parent b0a2bc786d
commit fb8313a77d
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ namespace internal {
const Line_2& line_2, const Line_2& line_2,
Point_2& in_point) const { 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); = CGAL::intersection(line_1, line_2);
if (result) { if (result) {
if (const Line_2* line = boost::get<Line_2>(&*result)) { if (const Line_2* line = boost::get<Line_2>(&*result)) {