From: Wolfgang Bangerth Date: Tue, 30 Mar 2004 13:54:10 +0000 (+0000) Subject: Make member class a friend if the compiler has a bug here. X-Git-Tag: v8.0.0~15436 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a83e6003d625f26954661953c9c7c0004f0ae455;p=dealii.git 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 --- 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 };