From d7089cf4cf05fe2d6f4e991719ff084850b84bcc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 25 Oct 2018 20:30:31 -0600 Subject: [PATCH] Fix a warning about an unused 'using' declaration in release mode. --- source/fe/fe_nedelec_sz.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/fe/fe_nedelec_sz.cc b/source/fe/fe_nedelec_sz.cc index dce21dcebe..54470ac551 100644 --- a/source/fe/fe_nedelec_sz.cc +++ b/source/fe/fe_nedelec_sz.cc @@ -46,14 +46,15 @@ FE_NedelecSZ::FE_NedelecSZ(const unsigned int degree) create_polynomials(degree); } + + // Shape functions: template double FE_NedelecSZ::shape_value(const unsigned int /*i*/, const Point & /*p*/) const { - using FEE = FiniteElement; - Assert(false, typename FEE::ExcFENotPrimitive()); + Assert(false, (typename FiniteElement::ExcFENotPrimitive())); return 0.; } @@ -78,8 +79,7 @@ Tensor<1, dim> FE_NedelecSZ::shape_grad(const unsigned int /*i*/, const Point & /*p*/) const { - using FEE = FiniteElement; - Assert(false, typename FEE::ExcFENotPrimitive()); + Assert(false, (typename FiniteElement::ExcFENotPrimitive())); return Tensor<1, dim>(); } @@ -103,8 +103,7 @@ Tensor<2, dim> FE_NedelecSZ::shape_grad_grad(const unsigned int /*i*/, const Point & /*p*/) const { - using FEE = FiniteElement; - Assert(false, typename FEE::ExcFENotPrimitive()); + Assert(false, (typename FiniteElement::ExcFENotPrimitive())); return Tensor<2, dim>(); } -- 2.39.5