]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use std::initializer_list instead of variadic constructor in tests 5221/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 10 Oct 2017 14:54:17 +0000 (16:54 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 10 Oct 2017 14:57:57 +0000 (16:57 +0200)
tests/grid/grid_tools_extract_used_vertices_03.cc
tests/grid/grid_tools_find_closest_vertex_01.cc

index f6d4ada1826b4c4c5d1c2be4d003bd32fdc803d4..14444328faabc9822acc27daa9c13e3cead56ffc 100644 (file)
@@ -38,7 +38,7 @@ void test (const Point<spacedim> &p)
   tria.refine_global(1);
 
   // Vector fe
-  FESystem<dim,spacedim> fe(FE_Q<dim, spacedim>(1)^spacedim);
+  FESystem<dim,spacedim> fe({FE_Q<dim, spacedim>(1)^spacedim});
   DoFHandler<dim,spacedim> dh(tria);
   dh.distribute_dofs(fe);
 
index 01fcac645fdf30cf498de7df23912812ec8e9524..fecc5590a096e985b40ae7c11d2eedc3165d0c92 100644 (file)
@@ -38,7 +38,7 @@ void test (const Point<spacedim> &p)
   tria.refine_global(1);
 
   // Vector fe
-  FESystem<dim,spacedim> fe(FE_Q<dim, spacedim>(1)^spacedim);
+  FESystem<dim,spacedim> fe({FE_Q<dim, spacedim>(1)^spacedim});
   DoFHandler<dim,spacedim> dh(tria);
   dh.distribute_dofs(fe);
 

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.