From: Martin Kronbichler Date: Fri, 10 May 2019 09:10:09 +0000 (+0200) Subject: Make step-31 compile again X-Git-Tag: v9.1.0-rc1~89^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8066%2Fhead;p=dealii.git Make step-31 compile again --- 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