From f40ca89f6be5c3be93b969f69e641c8e1ac811d3 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 10 May 2019 11:10:09 +0200 Subject: [PATCH] Make step-31 compile again --- examples/step-31/step-31.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/step-31/step-31.cc b/examples/step-31/step-31.cc index dbe09c16e1..f68496993a 100644 --- a/examples/step-31/step-31.cc +++ b/examples/step-31/step-31.cc @@ -133,8 +133,8 @@ namespace Step31 : Function(1) {} - virtual double value(const Point & p, - const unsigned int component = 0) const override + virtual double value(const Point & /*p*/, + const unsigned int /*component*/ = 0) const override { return 0; } @@ -143,7 +143,7 @@ namespace Step31 Vector & value) const override { for (unsigned int c = 0; c < this->n_components; ++c) - values(c) = TemperatureInitialValues::value(p, c); + value(c) = TemperatureInitialValues::value(p, c); } }; @@ -183,7 +183,7 @@ namespace Step31 Vector & value) const override { for (unsigned int c = 0; c < this->n_components; ++c) - values(c) = TemperatureRightHandSide::value(p, c); + value(c) = TemperatureRightHandSide::value(p, c); } }; } // namespace EquationData -- 2.39.5