From: Daniel Arndt Date: Sat, 24 Nov 2018 11:07:49 +0000 (+0100) Subject: Use std_cxx14::make_unique in tests X-Git-Tag: v9.1.0-rc1~540^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee0001bd859c88323a99dfbc54fa1709031fd3b5;p=dealii.git Use std_cxx14::make_unique in tests --- diff --git a/tests/multigrid/renumbering_06.cc b/tests/multigrid/renumbering_06.cc index 56795f06fb..ad2ec2486a 100644 --- a/tests/multigrid/renumbering_06.cc +++ b/tests/multigrid/renumbering_06.cc @@ -85,8 +85,8 @@ check() tr.execute_coarsening_and_refinement(); */ - auto fe_scalar = std::make_unique>(1); - auto fe = std::make_unique>(*fe_scalar, 1); + auto fe_scalar = std_cxx14::make_unique>(1); + auto fe = std_cxx14::make_unique>(*fe_scalar, 1); dealii::DoFHandler dofhandler(tria); dofhandler.distribute_dofs(*fe); diff --git a/tests/multigrid/renumbering_07.cc b/tests/multigrid/renumbering_07.cc index 1e4aed9cd3..a26d352451 100644 --- a/tests/multigrid/renumbering_07.cc +++ b/tests/multigrid/renumbering_07.cc @@ -85,8 +85,8 @@ check() tr.execute_coarsening_and_refinement(); */ - auto fe_scalar = std::make_unique>(1); - auto fe = std::make_unique>(*fe_scalar, dim); + auto fe_scalar = std_cxx14::make_unique>(1); + auto fe = std_cxx14::make_unique>(*fe_scalar, dim); dealii::DoFHandler dofhandler(tria); dofhandler.distribute_dofs(*fe);