From 42e517b073f7e09cc034c15aab9f03794d10802d Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Thu, 17 Dec 2020 15:43:54 -0700
Subject: [PATCH] Make a serialization function 'public'.

---
 include/deal.II/lac/la_vector.h | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

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 <typename Number2>
     friend class Vector;
-- 
2.39.5