]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
use using and add a typename to make clang happy
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 00:34:27 +0000 (00:34 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 00:34:27 +0000 (00:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@24137 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/precondition_block.h

index c28c23d2f6942397fedf1dd96076d4d4c616b255..45e094b58e80ef5348df84cb1529317f6118ea07 100644 (file)
@@ -770,20 +770,20 @@ class PreconditionBlockSOR : public virtual Subscriptor,
     typedef typename MATRIX::value_type number;
 
                                     /**
-                                     * Make type publicly available.
+                                     * import types and functions from protected base class.
                                      */
-    PreconditionBlock<MATRIX,inverse_type>::AdditionalData;
-    PreconditionBlock<MATRIX, inverse_type>::initialize;
-    PreconditionBlock<MATRIX, inverse_type>::clear;
-    PreconditionBlock<MATRIX, inverse_type>::empty;
-    PreconditionBlockBase<inverse_type>::size;
-    PreconditionBlockBase<inverse_type>::inverse;
-    PreconditionBlockBase<inverse_type>::inverse_householder;
-    PreconditionBlockBase<inverse_type>::inverse_svd;
-    PreconditionBlock<MATRIX, inverse_type>::el;
-    PreconditionBlock<MATRIX, inverse_type>::set_same_diagonal;
-    PreconditionBlock<MATRIX, inverse_type>::invert_diagblocks;
-    PreconditionBlock<MATRIX, inverse_type>::set_permutation;
+    using typename PreconditionBlock<MATRIX,inverse_type>::AdditionalData;
+    using typename PreconditionBlock<MATRIX, inverse_type>::initialize;
+    using typename PreconditionBlock<MATRIX, inverse_type>::clear;
+    using typename PreconditionBlock<MATRIX, inverse_type>::empty;
+    using typename PreconditionBlockBase<inverse_type>::size;
+    using typename PreconditionBlockBase<inverse_type>::inverse;
+    using typename PreconditionBlockBase<inverse_type>::inverse_householder;
+    using typename PreconditionBlockBase<inverse_type>::inverse_svd;
+    using typename PreconditionBlock<MATRIX, inverse_type>::el;
+    using typename PreconditionBlock<MATRIX, inverse_type>::set_same_diagonal;
+    using typename PreconditionBlock<MATRIX, inverse_type>::invert_diagblocks;
+    using typename PreconditionBlock<MATRIX, inverse_type>::set_permutation;
 
                                     /**
                                      * Execute block SOR

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.