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=bb53de800dd9e9f547221de228593ff2a3ee3ba3;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); } }