]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a serialization function 'public'. 11672/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 17 Dec 2020 22:43:54 +0000 (15:43 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 3 Feb 2021 15:44:15 +0000 (08:44 -0700)
include/deal.II/lac/la_vector.h

index f38c84ada17db5f01161b615aea4cc87595334f2..6029cb6254f569ac44031cbd4cd2da7818daf4f5 100644 (file)
@@ -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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.