]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure we declare the correct classes as 'friend'.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 31 Oct 2023 19:08:50 +0000 (13:08 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 1 Nov 2023 23:31:56 +0000 (17:31 -0600)
include/deal.II/lac/block_matrix_base.h

index fb4ae24f6d05dad34f7b02491778749ffd274a62..7b60d94aa37a9b393695ce89ae2f5096972fbaab 100644 (file)
@@ -191,10 +191,13 @@ namespace BlockMatrixIterators
     operator==(const Accessor &a) const;
 
     template <typename>
-    friend class MatrixIterator;
+    friend class dealii::MatrixIterator;
+
     friend class Accessor<BlockMatrixType, true>;
   };
 
+
+
   /**
    * Block matrix accessor for constant matrices, implementing the stepping
    * through a matrix.

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.