From a3ad82e0720d9f56887d72ad3825d3c1357c3c68 Mon Sep 17 00:00:00 2001 From: David Wells Date: Fri, 15 May 2020 13:38:40 -0400 Subject: [PATCH] Use std_cxx14::make_unique in step-70. --- examples/step-70/step-70.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/step-70/step-70.cc b/examples/step-70/step-70.cc index a58d28eb70..2963ea98c4 100644 --- a/examples/step-70/step-70.cc +++ b/examples/step-70/step-70.cc @@ -49,6 +49,7 @@ namespace LA #include #include #include +#include #include #include @@ -1030,21 +1031,20 @@ namespace Step70 // of each individual function to identify the bottlenecks. TimerOutput::Scope t(computing_timer, "Initial setup"); - fluid_fe = - std::make_unique>(FE_Q(par.velocity_degree), - spacedim, - FE_Q(par.velocity_degree - - 1), - 1); + fluid_fe = std_cxx14::make_unique>( + FE_Q(par.velocity_degree), + spacedim, + FE_Q(par.velocity_degree - 1), + 1); - solid_fe = std::make_unique>(); + solid_fe = std_cxx14::make_unique>(); solid_dh.distribute_dofs(*solid_fe); fluid_quadrature_formula = - std::make_unique>(par.velocity_degree + 1); + std_cxx14::make_unique>(par.velocity_degree + 1); solid_quadrature_formula = - std::make_unique>(par.velocity_degree + 1); + std_cxx14::make_unique>(par.velocity_degree + 1); // Save the current parameter file in the output directory, for // reproducibility -- 2.39.5