From d30092468585ef26a6dedc0d96e5bb2114e4d196 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 10 Jun 2021 14:20:41 +0200 Subject: [PATCH] Second try --- include/deal.II/particles/particle_accessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.5