From: wolf Date: Thu, 26 Nov 1998 08:59:55 +0000 (+0000) Subject: Reorder initializers in constructors to avoid warning messages. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b226af0bd66c1f86362802bd1200b0dbace2f2a3;p=dealii-svn.git Reorder initializers in constructors to avoid warning messages. git-svn-id: https://svn.dealii.org/trunk@678 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc b/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc index bb42eee3de..a518904637 100644 --- a/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc +++ b/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc @@ -34,16 +34,16 @@ class PoissonEquation : public Equation { public: PoissonEquation (const Function &rhs) : Equation(1), + use_coefficient(false), right_hand_side (rhs), - coefficient (default_coefficient), - use_coefficient(false) {}; + coefficient (default_coefficient) {}; PoissonEquation (const Function &rhs, const Function &coefficient ) : Equation(1), + use_coefficient(true), right_hand_side (rhs), - coefficient (coefficient), - use_coefficient(true) {}; + coefficient (coefficient) {}; virtual void assemble (dFMatrix &cell_matrix, dVector &rhs, diff --git a/tests/big-tests/error-estimation/error-estimation.cc b/tests/big-tests/error-estimation/error-estimation.cc index bb42eee3de..a518904637 100644 --- a/tests/big-tests/error-estimation/error-estimation.cc +++ b/tests/big-tests/error-estimation/error-estimation.cc @@ -34,16 +34,16 @@ class PoissonEquation : public Equation { public: PoissonEquation (const Function &rhs) : Equation(1), + use_coefficient(false), right_hand_side (rhs), - coefficient (default_coefficient), - use_coefficient(false) {}; + coefficient (default_coefficient) {}; PoissonEquation (const Function &rhs, const Function &coefficient ) : Equation(1), + use_coefficient(true), right_hand_side (rhs), - coefficient (coefficient), - use_coefficient(true) {}; + coefficient (coefficient) {}; virtual void assemble (dFMatrix &cell_matrix, dVector &rhs,