]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a warning about an unused 'using' declaration in release mode. 7384/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 26 Oct 2018 02:30:31 +0000 (20:30 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 26 Oct 2018 02:30:31 +0000 (20:30 -0600)
source/fe/fe_nedelec_sz.cc

index dce21dcebef911e1ae5b3e35049cc2679152cfc8..54470ac551b6b97d779188f0dc9e083c09fe8565 100644 (file)
@@ -46,14 +46,15 @@ FE_NedelecSZ<dim, spacedim>::FE_NedelecSZ(const unsigned int degree)
   create_polynomials(degree);
 }
 
+
+
 // Shape functions:
 template <int dim, int spacedim>
 double
 FE_NedelecSZ<dim, spacedim>::shape_value(const unsigned int /*i*/,
                                          const Point<dim> & /*p*/) const
 {
-  using FEE = FiniteElement<dim, dim>;
-  Assert(false, typename FEE::ExcFENotPrimitive());
+  Assert(false, (typename FiniteElement<dim, spacedim>::ExcFENotPrimitive()));
   return 0.;
 }
 
@@ -78,8 +79,7 @@ Tensor<1, dim>
 FE_NedelecSZ<dim, spacedim>::shape_grad(const unsigned int /*i*/,
                                         const Point<dim> & /*p*/) const
 {
-  using FEE = FiniteElement<dim, dim>;
-  Assert(false, typename FEE::ExcFENotPrimitive());
+  Assert(false, (typename FiniteElement<dim, spacedim>::ExcFENotPrimitive()));
   return Tensor<1, dim>();
 }
 
@@ -103,8 +103,7 @@ Tensor<2, dim>
 FE_NedelecSZ<dim, spacedim>::shape_grad_grad(const unsigned int /*i*/,
                                              const Point<dim> & /*p*/) const
 {
-  using FEE = FiniteElement<dim, dim>;
-  Assert(false, typename FEE::ExcFENotPrimitive());
+  Assert(false, (typename FiniteElement<dim, spacedim>::ExcFENotPrimitive()));
   return Tensor<2, dim>();
 }
 

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.