From b226af0bd66c1f86362802bd1200b0dbace2f2a3 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 26 Nov 1998 08:59:55 +0000 Subject: [PATCH] Reorder initializers in constructors to avoid warning messages. git-svn-id: https://svn.dealii.org/trunk@678 0785d39b-7218-0410-832d-ea1e28bc413d --- .../Attic/examples/error-estimation/error-estimation.cc | 8 ++++---- tests/big-tests/error-estimation/error-estimation.cc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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, -- 2.39.5