From: Martin Kronbichler Date: Thu, 10 Jun 2021 12:20:41 +0000 (+0200) Subject: Second try X-Git-Tag: v9.4.0-rc1~1238^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30092468585ef26a6dedc0d96e5bb2114e4d196;p=dealii.git Second try --- diff --git a/include/deal.II/particles/particle_accessor.h b/include/deal.II/particles/particle_accessor.h index c2f24c8ae9..073f3a69c0 100644 --- a/include/deal.II/particles/particle_accessor.h +++ b/include/deal.II/particles/particle_accessor.h @@ -409,7 +409,7 @@ namespace Particles template inline ParticleAccessor::ParticleAccessor() - : particles_on_cell({}) + : particles_on_cell(typename particle_container::iterator()) , property_pool(nullptr) , cell() , particle_index_within_cell(numbers::invalid_unsigned_int) @@ -432,7 +432,7 @@ namespace Particles const_cast(&particles)->begin() + cell->active_cell_index(); else - particles_on_cell = {}; + particles_on_cell = typename particle_container::iterator(); }