]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Second try to make it compile with Sun C++ 5.9. Avoid error: cannot change access...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2007 07:13:41 +0000 (07:13 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2007 07:13:41 +0000 (07:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@14976 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_sparsity_pattern.h

index 5da1bc75e2d0a5568090547f09c8e5ab23ab1959..d5ae50f4d95a963fe73c4f719ee0f84870ee723e 100644 (file)
@@ -623,7 +623,7 @@ class BlockCompressedSparsityPattern : public BlockSparsityPatternBase<Compresse
                                      * functions of the base class as
                                      * well.
                                      */
-    BlockSparsityPatternBase<CompressedSparsityPattern>::reinit;
+    using BlockSparsityPatternBase<CompressedSparsityPattern>::reinit;
 };
 
 
@@ -715,7 +715,7 @@ class BlockCompressedSetSparsityPattern : public BlockSparsityPatternBase<Compre
                                      * functions of the base class as
                                      * well.
                                      */
-    BlockSparsityPatternBase<CompressedSetSparsityPattern>::reinit;
+    using BlockSparsityPatternBase<CompressedSetSparsityPattern>::reinit;
 };
 
 

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.