From: Wolfgang Bangerth Date: Thu, 17 Dec 2020 22:43:54 +0000 (-0700) Subject: Make a serialization function 'public'. X-Git-Tag: v9.3.0-rc1~514^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11672%2Fhead;p=dealii.git Make a serialization function 'public'. --- diff --git a/include/deal.II/lac/la_vector.h b/include/deal.II/lac/la_vector.h index f38c84ada1..6029cb6254 100644 --- a/include/deal.II/lac/la_vector.h +++ b/include/deal.II/lac/la_vector.h @@ -399,14 +399,6 @@ namespace LinearAlgebra virtual std::size_t memory_consumption() const override; - /** - * Attempt to perform an operation between two incompatible vector types. - * - * @ingroup Exceptions - */ - DeclException0(ExcVectorTypeNotCompatible); - - private: /** * Write and read the data of this object from a stream for the purpose * of serialization using the [BOOST serialization @@ -416,8 +408,14 @@ namespace LinearAlgebra void serialize(Archive &ar, const unsigned int version); - friend class boost::serialization::access; + /** + * Attempt to perform an operation between two incompatible vector types. + * + * @ingroup Exceptions + */ + DeclException0(ExcVectorTypeNotCompatible); + private: // Make all other ReadWriteVector types friends. template friend class Vector;