From bb53de800dd9e9f547221de228593ff2a3ee3ba3 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 30 Dec 2020 18:08:05 -0500 Subject: [PATCH] Avoid warning about unused variable in particle.h --- include/deal.II/particles/particle.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/deal.II/particles/particle.h b/include/deal.II/particles/particle.h index 7c54a29ba4..792562d579 100644 --- a/include/deal.II/particles/particle.h +++ b/include/deal.II/particles/particle.h @@ -517,8 +517,7 @@ namespace Particles std::to_string(properties.size()) + " properties. Deserializing a particle only works for matching property sizes.")); - ar &boost::serialization::make_array(get_properties().data(), - n_properties); + ar &boost::serialization::make_array(properties.data(), n_properties); } } -- 2.39.5