From: Martin Kronbichler Date: Mon, 13 Dec 2021 19:02:16 +0000 (+0100) Subject: Make function const X-Git-Tag: v9.4.0-rc1~740^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5585f1a844b9c64c286f7ea815be0e6166ec9c9;p=dealii.git Make function const --- diff --git a/include/deal.II/matrix_free/shape_info.templates.h b/include/deal.II/matrix_free/shape_info.templates.h index 3d59bb92c9..fd13f5fb0f 100644 --- a/include/deal.II/matrix_free/shape_info.templates.h +++ b/include/deal.II/matrix_free/shape_info.templates.h @@ -854,7 +854,7 @@ namespace internal // (similar to MappingInfoStorage::QuadratureDescriptor::initialize) if (dim == 3) { - auto compute_orientations = + const auto compute_orientations = [](const unsigned int n, Table<2, unsigned int> &face_orientations) { face_orientations.reinit(8, n * n);