1 Fix build with cgal 5.6.1+
3 diff --git a/src/libslic3r/MeshBoolean.cpp b/src/libslic3r/MeshBoolean.cpp
4 index 50bbc099..b05245d3 100644
5 --- a/src/libslic3r/MeshBoolean.cpp
6 +++ b/src/libslic3r/MeshBoolean.cpp
7 @@ -200,12 +200,12 @@ indexed_triangle_set cgal_to_indexed_triangle_set(const _Mesh &cgalmesh)
8 const auto &vertices = cgalmesh.vertices();
9 int vsize = int(vertices.size());
11 - for (auto &vi : vertices) {
12 + for (const auto &vi : vertices) {
13 auto &v = cgalmesh.point(vi); // Don't ask...
14 its.vertices.emplace_back(to_vec3f(v));
17 - for (auto &face : faces) {
18 + for (const auto &face : faces) {
19 auto vtc = cgalmesh.vertices_around_face(cgalmesh.halfedge(face));