]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work around compiler bugs.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 31 Mar 2003 16:34:39 +0000 (16:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 31 Mar 2003 16:34:39 +0000 (16:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@7349 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix_ez.h

index 04f12e1fa017e6f5e9f14afc1cd499f983de13d3..3dcfcb4ccbf383bbe3e302c4da40eaf679829988 100644 (file)
@@ -316,7 +316,7 @@ class SparseMatrixEZ : public Subscriptor
                                          * class being granted
                                          * friendship...
                                          */
-#ifdef DEAL_II_NESTED_NESTED_FRIEND_BUG        
+#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG 
        template <typename> friend class SparseMatrixEZ;
 #endif
     };
@@ -1006,8 +1006,10 @@ class SparseMatrixEZ : public Subscriptor
                                       * standard, but some compilers
                                       * require this...
                                       */
+#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG    
     friend class const_iterator;
     friend class const_iterator::Accessor;
+#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.