]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use std::array instead of a C-style array. 14660/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 10 Jan 2023 17:01:50 +0000 (10:01 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 10 Jan 2023 17:01:50 +0000 (10:01 -0700)
include/deal.II/base/data_out_base.h

index 64ee5c70c38c9a963bf894d53a72811dfc7a9be2..cbd8f40841c61c0b08bff28ebecfeca83aee4b29 100644 (file)
@@ -282,7 +282,7 @@ namespace DataOutBase
      * The order of points is the same as for cells in the
      * triangulation.
      */
-    Point<spacedim> vertices[GeometryInfo<dim>::vertices_per_cell];
+    std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertices;
 
     /**
      * Patch indices of neighbors of the current patch. This is made available

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.