From: David Wells Date: Fri, 15 May 2020 17:38:40 +0000 (-0400) Subject: Use std_cxx14::make_unique in step-70. X-Git-Tag: v9.3.0-rc1~1623^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f1043fcd2b33c03d964eb521ee61c4a56fffc7e;p=dealii.git Use std_cxx14::make_unique in step-70. --- 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