]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use std_cxx14::make_unique in tests
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 24 Nov 2018 11:07:49 +0000 (12:07 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 24 Nov 2018 11:07:49 +0000 (12:07 +0100)
tests/multigrid/renumbering_06.cc
tests/multigrid/renumbering_07.cc

index 56795f06fb3471512083ccbb93f72e22a3540a96..ad2ec2486a65e2c32cf1776ad8d429b0c4ffa06b 100644 (file)
@@ -85,8 +85,8 @@ check()
  tr.execute_coarsening_and_refinement();
   */
 
-  auto fe_scalar = std::make_unique<dealii::FE_Q<dim>>(1);
-  auto fe        = std::make_unique<dealii::FESystem<dim>>(*fe_scalar, 1);
+  auto fe_scalar = std_cxx14::make_unique<dealii::FE_Q<dim>>(1);
+  auto fe        = std_cxx14::make_unique<dealii::FESystem<dim>>(*fe_scalar, 1);
 
   dealii::DoFHandler<dim> dofhandler(tria);
   dofhandler.distribute_dofs(*fe);
index 1e4aed9cd368dcf2ac095fd6a9a50b3ece2401db..a26d352451cc8f4e00f9b6732d88b367fba5a327 100644 (file)
@@ -85,8 +85,8 @@ check()
  tr.execute_coarsening_and_refinement();
   */
 
-  auto fe_scalar = std::make_unique<dealii::FE_Q<dim>>(1);
-  auto fe        = std::make_unique<dealii::FESystem<dim>>(*fe_scalar, dim);
+  auto fe_scalar = std_cxx14::make_unique<dealii::FE_Q<dim>>(1);
+  auto fe = std_cxx14::make_unique<dealii::FESystem<dim>>(*fe_scalar, dim);
 
   dealii::DoFHandler<dim> dofhandler(tria);
   dofhandler.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.