From: Daniel Arndt Date: Tue, 10 Oct 2017 14:54:17 +0000 (+0200) Subject: Use std::initializer_list instead of variadic constructor in tests X-Git-Tag: v9.0.0-rc1~971^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fda0a230c43126661efec9067cd7d88a28320f;p=dealii.git Use std::initializer_list instead of variadic constructor in tests --- diff --git a/tests/grid/grid_tools_extract_used_vertices_03.cc b/tests/grid/grid_tools_extract_used_vertices_03.cc index f6d4ada182..14444328fa 100644 --- a/tests/grid/grid_tools_extract_used_vertices_03.cc +++ b/tests/grid/grid_tools_extract_used_vertices_03.cc @@ -38,7 +38,7 @@ void test (const Point &p) tria.refine_global(1); // Vector fe - FESystem fe(FE_Q(1)^spacedim); + FESystem fe({FE_Q(1)^spacedim}); DoFHandler dh(tria); dh.distribute_dofs(fe); diff --git a/tests/grid/grid_tools_find_closest_vertex_01.cc b/tests/grid/grid_tools_find_closest_vertex_01.cc index 01fcac645f..fecc5590a0 100644 --- a/tests/grid/grid_tools_find_closest_vertex_01.cc +++ b/tests/grid/grid_tools_find_closest_vertex_01.cc @@ -38,7 +38,7 @@ void test (const Point &p) tria.refine_global(1); // Vector fe - FESystem fe(FE_Q(1)^spacedim); + FESystem fe({FE_Q(1)^spacedim}); DoFHandler dh(tria); dh.distribute_dofs(fe);