From 282792287b0dbea26fe2dd598ac6068e4ff9f1cf Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 30 Mar 2004 13:54:10 +0000 Subject: [PATCH] Make member class a friend if the compiler has a bug here. git-svn-id: https://svn.dealii.org/trunk@8912 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 06455ec9ce..329fbc98ed 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -231,6 +231,10 @@ namespace internals */ template friend class internals::SparseMatrixIterators::Iterator; + +#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG + friend class Reference; +#endif }; -- 2.39.5