From: Ian Rose Date: Wed, 13 May 2015 02:35:57 +0000 (-0700) Subject: Remove unnecessary typename keywords, which cause C++03 problems X-Git-Tag: v8.3.0-rc1~175^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F932%2Fhead;p=dealii.git Remove unnecessary typename keywords, which cause C++03 problems --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index fa7fe4c3ce..96bb7b10c9 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -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::faces_per_cell; ++i) if (cell->at_boundary(i)) @@ -3108,7 +3108,7 @@ namespace GridGenerator for (unsigned int i=0; i::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()); diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index 629d2801ab..7687b1a9e1 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -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(); }