diff --git a/Surface_modeling/examples/Surface_modeling/all_roi_assign_example.cpp b/Surface_modeling/examples/Surface_modeling/all_roi_assign_example.cpp index 7f949a799ec..d92a4dddfa2 100644 --- a/Surface_modeling/examples/Surface_modeling/all_roi_assign_example.cpp +++ b/Surface_modeling/examples/Surface_modeling/all_roi_assign_example.cpp @@ -41,8 +41,8 @@ int main() deform_mesh.insert_roi_vertices(vb, ve); // Select two control vertices ... - vertex_descriptor control_1 = *next(vb, 213); - vertex_descriptor control_2 = *next(vb, 157); + vertex_descriptor control_1 = *CGAL::cpp11::next(vb, 213); + vertex_descriptor control_2 = *CGAL::cpp11::next(vb, 157); // ... and insert them deform_mesh.insert_control_vertex(control_1); @@ -79,7 +79,7 @@ int main() output.close(); // Add another control vertex which requires another call to preprocess - vertex_descriptor control_3 = *next(vb, 92); + vertex_descriptor control_3 = *CGAL::cpp11::next(vb, 92); deform_mesh.insert_control_vertex(control_3); // The prepocessing step is again needed diff --git a/Surface_modeling/examples/Surface_modeling/all_roi_assign_example_custom_polyhedron.cpp b/Surface_modeling/examples/Surface_modeling/all_roi_assign_example_custom_polyhedron.cpp index bd5c1aca9d8..f89377b1500 100644 --- a/Surface_modeling/examples/Surface_modeling/all_roi_assign_example_custom_polyhedron.cpp +++ b/Surface_modeling/examples/Surface_modeling/all_roi_assign_example_custom_polyhedron.cpp @@ -100,8 +100,8 @@ int main() deform_mesh.insert_roi_vertices(vb, ve); // Insert two control vertices - vertex_descriptor control_1 = *next(vb, 213); - vertex_descriptor control_2 = *next(vb, 157); + vertex_descriptor control_1 = *CGAL::cpp11::next(vb, 213); + vertex_descriptor control_2 = *CGAL::cpp11::next(vb, 157); deform_mesh.insert_control_vertex(control_1); deform_mesh.insert_control_vertex(control_2); @@ -136,7 +136,7 @@ int main() output.close(); // Add another control vertex - vertex_descriptor control_3 = *next(vb, 92); + vertex_descriptor control_3 = *CGAL::cpp11::next(vb, 92); deform_mesh.insert_control_vertex(control_3); // The prepocessing step is again needed diff --git a/Surface_modeling/examples/Surface_modeling/k_ring_roi_translate_rotate_example.cpp b/Surface_modeling/examples/Surface_modeling/k_ring_roi_translate_rotate_example.cpp index 37237211b9f..81b8b18bd98 100644 --- a/Surface_modeling/examples/Surface_modeling/k_ring_roi_translate_rotate_example.cpp +++ b/Surface_modeling/examples/Surface_modeling/k_ring_roi_translate_rotate_example.cpp @@ -70,12 +70,12 @@ int main() // Select and insert the vertices of the region of interest vertex_iterator vb, ve; boost::tie(vb,ve) = vertices(mesh); - std::vector roi = extract_k_ring(mesh, *next(vb, 47), 9); + std::vector roi = extract_k_ring(mesh, *CGAL::cpp11::next(vb, 47), 9); deform_mesh.insert_roi_vertices(roi.begin(), roi.end()); // Select and insert the control vertices - std::vector cvertices_1 = extract_k_ring(mesh, *next(vb, 39), 1); - std::vector cvertices_2 = extract_k_ring(mesh, *next(vb, 97), 1); + std::vector cvertices_1 = extract_k_ring(mesh, *CGAL::cpp11::next(vb, 39), 1); + std::vector cvertices_2 = extract_k_ring(mesh, *CGAL::cpp11::next(vb, 97), 1); deform_mesh.insert_control_vertices(cvertices_1.begin(), cvertices_1.end()); deform_mesh.insert_control_vertices(cvertices_2.begin(), cvertices_2.end());