From c7fda0a230c43126661efec9067cd7d88a28320f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 10 Oct 2017 16:54:17 +0200 Subject: [PATCH] Use std::initializer_list instead of variadic constructor in tests --- tests/grid/grid_tools_extract_used_vertices_03.cc | 2 +- tests/grid/grid_tools_find_closest_vertex_01.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5