From c7e9f30ebbfc245a1dd1d2f0988c2a716dd4199a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 1 May 2024 13:41:16 +0530 Subject: [PATCH] Fix another missing 'const'. --- examples/step-3/step-3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5