From 45777165eb1cf05b0621543422b0ae54ec77cadb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 1 Mar 2024 12:29:54 +0100 Subject: [PATCH] Use an array instead of a fixed size vector --- .../internal/topologically_correct_marching_cubes_functors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h index 7da4918a7f7..2333ef76bfe 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h @@ -314,7 +314,7 @@ private: // A hexahedron has twelve edges, save the intersection of the isosurface with the edge // save global edge and global vertex index of isosurface - std::vector vertices(12); + std::array vertices; // save local coordinate along the edge of intersection point std::vector ecoord(12, FT(0));