]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make member class a friend if the compiler has a bug here.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Mar 2004 13:54:10 +0000 (13:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Mar 2004 13:54:10 +0000 (13:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@8912 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h

index 06455ec9ce6b2a3a781c26fd82cf8aaddd2f62b0..329fbc98ed29a68829bf8474d76d59d9ed8380de 100644 (file)
@@ -231,6 +231,10 @@ namespace internals
                                           */
         template <typename, bool>
         friend class internals::SparseMatrixIterators::Iterator;
+
+#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG
+        friend class Reference;
+#endif
     };
     
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.