]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid 'typename' outside templates.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 16 Oct 2013 02:41:43 +0000 (02:41 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 16 Oct 2013 02:41:43 +0000 (02:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@31248 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/matrix_tools.cc

index d4f762140d1a682107522696ff225d4640503aba..75d21fe9e83926acdc8c7e2ea5bb6a634dccaeef 100644 (file)
@@ -1139,7 +1139,7 @@ namespace MatrixCreator
 
     template <>
     void
-    create_boundary_mass_matrix_1<2,3> (typename DoFHandler<2,3>::active_cell_iterator const &cell,
+    create_boundary_mass_matrix_1<2,3> (DoFHandler<2,3>::active_cell_iterator const &cell,
                                         MatrixCreator::internal::AssemblerBoundary::Scratch const 
                                         &scratch,                                                 
                                         MatrixCreator::internal::AssemblerBoundary::CopyData<DoFHandler<2,
@@ -1147,7 +1147,7 @@ namespace MatrixCreator
                                         Mapping<2,3> const &mapping,                              
                                         FiniteElement<2,3> const &fe,                             
                                         Quadrature<1> const &q,                                   
-                                        typename FunctionMap<3>::type const &boundary_functions,  
+                                        FunctionMap<3>::type const &boundary_functions,  
                                         Function<3> const *const coefficient,                     
                                         std::vector<unsigned int> const &component_mapping)       
     {
@@ -1158,7 +1158,7 @@ namespace MatrixCreator
 
     template <>
     void
-    create_boundary_mass_matrix_1<1,3> (typename DoFHandler<1,3>::active_cell_iterator const &cell,
+    create_boundary_mass_matrix_1<1,3> (DoFHandler<1,3>::active_cell_iterator const &cell,
                                         MatrixCreator::internal::AssemblerBoundary::Scratch const 
                                         &scratch,
                                         MatrixCreator::internal::AssemblerBoundary::CopyData<DoFHandler<1,
@@ -1166,7 +1166,7 @@ namespace MatrixCreator
                                         Mapping<1,3> const &mapping,
                                         FiniteElement<1,3> const &fe,
                                         Quadrature<0> const &q,
-                                        typename FunctionMap<3>::type const &boundary_functions,
+                                        FunctionMap<3>::type const &boundary_functions,
                                         Function<3> const *const coefficient,
                                         std::vector<unsigned int> const &component_mapping)                
     {

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.