From f9178378db4981fd64446b8b4202f6c0b2cdc2f0 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 11 Apr 2019 14:54:15 +0200 Subject: [PATCH] Replace std::make_unique by std_cxx14::make_unique --- source/meshworker/scratch_data.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/meshworker/scratch_data.cc b/source/meshworker/scratch_data.cc index 8e6e8708c8..c55c72e77e 100644 --- a/source/meshworker/scratch_data.cc +++ b/source/meshworker/scratch_data.cc @@ -128,10 +128,8 @@ namespace MeshWorker const typename DoFHandler::active_cell_iterator &cell) { if (!fe_values) - fe_values = std::make_unique>(*mapping, - *fe, - cell_quadrature, - cell_update_flags); + fe_values = std_cxx14::make_unique>( + *mapping, *fe, cell_quadrature, cell_update_flags); fe_values->reinit(cell); cell->get_dof_indices(local_dof_indices); @@ -148,7 +146,7 @@ namespace MeshWorker const unsigned int face_no) { if (!fe_face_values) - fe_face_values = std::make_unique>( + fe_face_values = std_cxx14::make_unique>( *mapping, *fe, face_quadrature, face_update_flags); fe_face_values->reinit(cell, face_no); @@ -169,8 +167,9 @@ namespace MeshWorker if (subface_no != numbers::invalid_unsigned_int) { if (!fe_subface_values) - fe_subface_values = std::make_unique>( - *mapping, *fe, face_quadrature, face_update_flags); + fe_subface_values = + std_cxx14::make_unique>( + *mapping, *fe, face_quadrature, face_update_flags); fe_subface_values->reinit(cell, face_no, subface_no); cell->get_dof_indices(local_dof_indices); @@ -189,7 +188,7 @@ namespace MeshWorker const typename DoFHandler::active_cell_iterator &cell) { if (!neighbor_fe_values) - neighbor_fe_values = std::make_unique>( + neighbor_fe_values = std_cxx14::make_unique>( *mapping, *fe, cell_quadrature, neighbor_cell_update_flags); neighbor_fe_values->reinit(cell); @@ -207,8 +206,9 @@ namespace MeshWorker const unsigned int face_no) { if (!neighbor_fe_face_values) - neighbor_fe_face_values = std::make_unique>( - *mapping, *fe, face_quadrature, neighbor_face_update_flags); + neighbor_fe_face_values = + std_cxx14::make_unique>( + *mapping, *fe, face_quadrature, neighbor_face_update_flags); neighbor_fe_face_values->reinit(cell, face_no); cell->get_dof_indices(neighbor_dof_indices); current_neighbor_fe_values = neighbor_fe_face_values.get(); @@ -228,7 +228,7 @@ namespace MeshWorker { if (!neighbor_fe_subface_values) neighbor_fe_subface_values = - std::make_unique>( + std_cxx14::make_unique>( *mapping, *fe, face_quadrature, neighbor_face_update_flags); neighbor_fe_subface_values->reinit(cell, face_no, subface_no); cell->get_dof_indices(neighbor_dof_indices); @@ -353,4 +353,4 @@ namespace MeshWorker { #include "scratch_data.inst" } -DEAL_II_NAMESPACE_CLOSE \ No newline at end of file +DEAL_II_NAMESPACE_CLOSE -- 2.39.5