From: Daniel Arndt Date: Sat, 10 Feb 2018 15:48:13 +0000 (+0100) Subject: Use make_unique/shared in particles X-Git-Tag: v9.0.0-rc1~425^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253920bc134cff20132831cefc02669ef9290721;p=dealii.git Use make_unique/shared in particles --- diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index 7f8d5d43ce..c91e6f4ad8 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -15,6 +15,7 @@ #include +#include #include #include @@ -81,7 +82,7 @@ namespace Particles mapping = &mapp; // Create the memory pool that will store all particle properties - property_pool.reset(new PropertyPool(n_properties)); + property_pool = std_cxx14::make_unique(n_properties); }