From de88858de939c5b9ac0996a1f6eccbe6a5a231cf Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Mon, 22 Aug 2016 14:13:57 -0600 Subject: [PATCH] Make MappingQGeneric::InternalData::polynomial_degree const --- include/deal.II/fe/mapping_q_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/fe/mapping_q_generic.h b/include/deal.II/fe/mapping_q_generic.h index 54010338a6..cc09663168 100644 --- a/include/deal.II/fe/mapping_q_generic.h +++ b/include/deal.II/fe/mapping_q_generic.h @@ -377,7 +377,7 @@ public: * The polynomial degree of the mapping. Since the objects here are also * used (with minor adjustments) by MappingQ, we need to store this. */ - unsigned int polynomial_degree; + const unsigned int polynomial_degree; /** * Number of shape functions. If this is a Q1 mapping, then it is simply -- 2.39.5