From: wolf 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282792287b0dbea26fe2dd598ac6068e4ff9f1cf;p=dealii-svn.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 };