From 01806209e458f6d97287405fcedf0dce7b04406a Mon Sep 17 00:00:00 2001 From: Marco Feder Date: Sat, 30 Apr 2022 02:33:20 +0200 Subject: [PATCH] Get ref_cells by reference --- tests/cgal/cgal_surface_mesh_01.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cgal/cgal_surface_mesh_01.cc b/tests/cgal/cgal_surface_mesh_01.cc index 5ce3152b66..c39b1da1a2 100644 --- a/tests/cgal/cgal_surface_mesh_01.cc +++ b/tests/cgal/cgal_surface_mesh_01.cc @@ -44,7 +44,7 @@ test() {Line}, {Triangle, Quadrilateral}, {Tetrahedron, Pyramid, Wedge, Hexahedron}}; - for (const auto r_cell : ref_cells[dim]) + for (const auto &r_cell : ref_cells[dim]) { Triangulation tria; CGAL::Surface_mesh mesh; -- 2.39.5