]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around compiler bug here as well.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 Apr 2002 15:11:14 +0000 (15:11 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 Apr 2002 15:11:14 +0000 (15:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@5647 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_vector.h

index b6d20b3b0d1e04f20a452f5b673158f0b38a67b3..fe42c8c2fd4e1ffbcc85d248e5f072b4c708b832 100644 (file)
@@ -1148,11 +1148,17 @@ class BlockVector
 
                                     /**
                                      * Make the iterator class a
-                                     * friend.
+                                     * friend. We have to work around
+                                     * a compiler bug here again.
                                      */
+#ifndef DEAL_II_NAMESP_TEMPL_FRIEND_BUG
+    template <typename N, bool C>
+    friend class BlockVectorIterators::Iterator;
+#else
     friend class iterator;
     friend class const_iterator;
-
+#endif
+    
     template <typename Number2> friend class BlockVector;
 };
 

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.