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=refs%2Fpull%2F3762%2Fhead;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