diff --git a/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h b/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h index ad84a08d2fa..c69297ad489 100644 --- a/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h +++ b/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h @@ -2451,7 +2451,8 @@ public: static Point_3 point(face_descriptor f, Barycentric_coordinate location, const Triangle_mesh& tm, const Traits& traits = Traits()) { - return point(f, location, tm, CGAL::get(CGAL::vertex_point, tm), traits); + using boost::get; + return point(f, location, tm, get(CGAL::vertex_point, tm), traits); } static Point_3 point(face_descriptor f, Barycentric_coordinate location, const Triangle_mesh& tm, Vertex_point_map vertexPointMap, const Traits& traits = Traits()) @@ -2481,7 +2482,8 @@ public: static Point_3 point(halfedge_descriptor edge, FT t, const Triangle_mesh& tm, const Traits& traits = Traits()) { - return point(edge, t, tm, CGAL::get(CGAL::vertex_point, tm), traits); + using boost::get; + return point(edge, t, tm, get(CGAL::vertex_point, tm), traits); } static Point_3 point(halfedge_descriptor edge, FT t, const Triangle_mesh& tm, Vertex_point_map vertexPointMap, const Traits& traits = Traits()) diff --git a/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/internal/misc_functions.h b/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/internal/misc_functions.h index 397c6e6db3a..395b742dc6c 100644 --- a/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/internal/misc_functions.h +++ b/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/internal/misc_functions.h @@ -21,6 +21,7 @@ #define CGAL_SURFACE_MESH_SHORTEST_PATH_INTERNAL_MISC_H #include +#include #include namespace CGAL {