From: Wolfgang Bangerth Date: Wed, 1 May 2024 08:11:16 +0000 (+0530) Subject: Fix another missing 'const'. X-Git-Tag: v9.6.0-rc1~330^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16945%2Fhead;p=dealii.git Fix another missing 'const'. --- diff --git a/examples/step-3/step-3.cc b/examples/step-3/step-3.cc index 26ca45999c..47402656bc 100644 --- a/examples/step-3/step-3.cc +++ b/examples/step-3/step-3.cc @@ -262,7 +262,7 @@ void Step3::assemble_system() // 2d. This quadrature formula integrates polynomials of degrees up to three // exactly (in 1d). It is easy to check that this is sufficient for the // present problem: - QGauss<2> quadrature_formula(fe.degree + 1); + const QGauss<2> quadrature_formula(fe.degree + 1); // And we initialize the object which we have briefly talked about above. It // needs to be told which finite element we want to use, and the quadrature // points and their weights (jointly described by a Quadrature object). As