From: Wolfgang Bangerth Date: Thu, 23 Jan 2003 22:41:53 +0000 (+0000) Subject: Move definition of static member variables to .cc file. X-Git-Tag: v8.0.0~17040 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91cdb4a2f4aec2d11ec681c56754ad29732efc1;p=dealii.git Move definition of static member variables to .cc file. git-svn-id: https://svn.dealii.org/trunk@6948 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/derivative_approximation.h b/deal.II/deal.II/include/numerics/derivative_approximation.h index 03a6848b94..3ece87276e 100644 --- a/deal.II/deal.II/include/numerics/derivative_approximation.h +++ b/deal.II/deal.II/include/numerics/derivative_approximation.h @@ -278,7 +278,7 @@ class DerivativeApproximation * @p{get_projected_derivative} * to work. */ - static const UpdateFlags update_flags = update_values; + static const UpdateFlags update_flags; /** * Declare the data type which @@ -358,7 +358,7 @@ class DerivativeApproximation * @p{get_projected_derivative} * to work. */ - static const UpdateFlags update_flags = update_gradients; + static const UpdateFlags update_flags; /** * Declare the data type which diff --git a/deal.II/deal.II/source/numerics/derivative_approximation.cc b/deal.II/deal.II/source/numerics/derivative_approximation.cc index 0c3fc70813..889aa73478 100644 --- a/deal.II/deal.II/source/numerics/derivative_approximation.cc +++ b/deal.II/deal.II/source/numerics/derivative_approximation.cc @@ -38,10 +38,10 @@ static T sqr (const T t) // static variables template -const UpdateFlags DerivativeApproximation::Gradient::update_flags; +const UpdateFlags DerivativeApproximation::Gradient::update_flags = update_values; template -const UpdateFlags DerivativeApproximation::SecondDerivative::update_flags; +const UpdateFlags DerivativeApproximation::SecondDerivative::update_flags = update_gradients;