From 72b013c6cb2a8383bcb798e6373b9e40abd5df19 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 31 Oct 2023 13:08:50 -0600 Subject: [PATCH] Make sure we declare the correct classes as 'friend'. --- include/deal.II/lac/block_matrix_base.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- 2.39.5