From: Wolfgang Bangerth Date: Fri, 26 Oct 2018 02:30:31 +0000 (-0600) Subject: Fix a warning about an unused 'using' declaration in release mode. X-Git-Tag: v9.1.0-rc1~599^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7384%2Fhead;p=dealii.git Fix a warning about an unused 'using' declaration in release mode. --- 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>(); }