From: Daniel Arndt Date: Wed, 30 Dec 2020 23:08:05 +0000 (-0500) Subject: Avoid warning about unused variable in particle.h X-Git-Tag: v9.3.0-rc1~700^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11441%2Fhead;p=dealii.git Avoid warning about unused variable in particle.h --- 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); } }