From: Wolfgang Bangerth Date: Tue, 31 Oct 2023 19:08:50 +0000 (-0600) Subject: Make sure we declare the correct classes as 'friend'. X-Git-Tag: relicensing~333^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72b013c6cb2a8383bcb798e6373b9e40abd5df19;p=dealii.git Make sure we declare the correct classes as 'friend'. --- diff --git a/include/deal.II/lac/block_matrix_base.h b/include/deal.II/lac/block_matrix_base.h index fb4ae24f6d..7b60d94aa3 100644 --- a/include/deal.II/lac/block_matrix_base.h +++ b/include/deal.II/lac/block_matrix_base.h @@ -191,10 +191,13 @@ namespace BlockMatrixIterators operator==(const Accessor &a) const; template - friend class MatrixIterator; + friend class dealii::MatrixIterator; + friend class Accessor; }; + + /** * Block matrix accessor for constant matrices, implementing the stepping * through a matrix.