From fe97c06f6e9cb9126d1add5bc78a68946e6357bf Mon Sep 17 00:00:00 2001 From: Ian Rose Date: Tue, 12 May 2015 19:35:57 -0700 Subject: [PATCH] Remove unnecessary typename keywords, which cause C++03 problems --- source/grid/grid_generator.cc | 4 ++-- source/lac/trilinos_sparse_matrix.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); } -- 2.39.5