Skip to content

Instantly share code, notes, and snippets.

@lrineau
Created June 15, 2015 17:09
Show Gist options
  • Save lrineau/cab851b4d226a5f153d9 to your computer and use it in GitHub Desktop.
Save lrineau/cab851b4d226a5f153d9 to your computer and use it in GitHub Desktop.
Mesh_3 does not compile with g++-4.4 and C++0x
--- include/CGAL/Mesh_3/Refine_facets_3.h 2015-06-15 15:33:49.361381717 +0200
+++ include/CGAL/Mesh_3/Refine_facets_3.h 2015-06-15 15:33:49.363381756 +0200
@@ -1639,8 +1639,8 @@
if(surface)
#endif // CGAL_MESH_3_NO_LONGER_CALLS_DO_INTERSECT_3
fp = Facet_properties(CGAL::cpp11::make_tuple(*surface,
- CGAL::cpp11::get<1>(intersect),
- CGAL::cpp11::get<0>(intersect)));
+ CGAL::cpp11::get<1>(intersect),
+ Point(CGAL::cpp11::get<0>(intersect))));
return;
}
}
@@ -1672,8 +1672,8 @@
#endif // CGAL_MESH_3_NO_LONGER_CALLS_DO_INTERSECT_3
{
fp = Facet_properties(CGAL::cpp11::make_tuple(*surface,
- CGAL::cpp11::get<1>(intersect),
- CGAL::cpp11::get<0>(intersect)));
+ CGAL::cpp11::get<1>(intersect),
+ Point(CGAL::cpp11::get<0>(intersect))));
return;
}
@@ -1703,8 +1703,8 @@
Intersection intersect = construct_intersection(line);
fp = Facet_properties(CGAL::cpp11::make_tuple(*surface,
- CGAL::cpp11::get<1>(intersect),
- CGAL::cpp11::get<0>(intersect)));
+ CGAL::cpp11::get<1>(intersect),
+ Point(CGAL::cpp11::get<0>(intersect))));
return;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment