From: David Wells Date: Tue, 10 Jan 2017 16:10:38 +0000 (-0500) Subject: Make a member variable const. X-Git-Tag: v8.5.0-rc1~271^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99c877dfbe3e91f748f2378510be03c489027168;p=dealii.git Make a member variable const. This is copied from an input parameter and never changed so it may as well be marked as const. --- diff --git a/include/deal.II/base/tensor_product_polynomials.h b/include/deal.II/base/tensor_product_polynomials.h index 549716086b..f5bba584fb 100644 --- a/include/deal.II/base/tensor_product_polynomials.h +++ b/include/deal.II/base/tensor_product_polynomials.h @@ -347,7 +347,7 @@ private: /** * Copy of the vector pols of polynomials given to the constructor. */ - std::vector > > polynomials; + const std::vector > > polynomials; /** * Number of tensor product polynomials. This is Nx*Ny*Nz, or with