]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unnecessary typename keywords, which cause C++03 problems
authorIan Rose <ian.r.rose@gmail.com>
Wed, 13 May 2015 02:35:57 +0000 (19:35 -0700)
committerGiuseppe Pitton <gpitton@sissa.it>
Thu, 14 May 2015 19:37:04 +0000 (21:37 +0200)
source/grid/grid_generator.cc
source/lac/trilinos_sparse_matrix.cc

index fa7fe4c3ce92ffafba1fdc7e747ad27924512466..96bb7b10c9d7ca07e903651996ede344d42a375c 100644 (file)
@@ -3094,7 +3094,7 @@ namespace GridGenerator
         // We want to use a standard boundary description where
         // the boundary is not curved. Hence set boundary id 2 to
         // to all faces in a first step.
-        typename Triangulation<3>::cell_iterator cell = tria.begin();
+        Triangulation<3>::cell_iterator cell = tria.begin();
         for (; cell!=tria.end(); ++cell)
           for (unsigned int i=0; i<GeometryInfo<3>::faces_per_cell; ++i)
             if (cell->at_boundary(i))
@@ -3108,7 +3108,7 @@ namespace GridGenerator
           for (unsigned int i=0; i<GeometryInfo<3>::faces_per_cell; ++i)
             if (cell->at_boundary(i))
               {
-                const typename Triangulation<3>::face_iterator face
+                const Triangulation<3>::face_iterator face
                   = cell->face(i);
 
                 const Point<3> face_center (face->center());
index 629d2801ab733a7f967d20385bc3532d2f9ee343..7687b1a9e1fe53401497df902e3ba7ac60d0eaf1 100644 (file)
@@ -694,7 +694,7 @@ namespace TrilinosWrappers
 
         row_indices.resize (row_length, -1);
         {
-          typename dealii::DynamicSparsityPattern::iterator p = sparsity_pattern.begin(global_row);
+          dealii::DynamicSparsityPattern::iterator p = sparsity_pattern.begin(global_row);
           for (size_type col=0; p != sparsity_pattern.end(global_row); ++p, ++col)
             row_indices[col] = p->column();
         }

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.