From: Wolfgang Bangerth Date: Mon, 9 Jan 2017 15:16:54 +0000 (-0700) Subject: Make a member variable 'const'. X-Git-Tag: v8.5.0-rc1~277^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e08588add21a64e4d51c968ef5166ef3efbdf550;p=dealii.git Make a member variable 'const'. We can do so because it is initialized in the constructor. --- diff --git a/include/deal.II/base/tensor_product_polynomials.h b/include/deal.II/base/tensor_product_polynomials.h index b27f1deafe..549716086b 100644 --- a/include/deal.II/base/tensor_product_polynomials.h +++ b/include/deal.II/base/tensor_product_polynomials.h @@ -353,7 +353,7 @@ private: * Number of tensor product polynomials. This is Nx*Ny*Nz, or with * terms dropped if the number of space dimensions is less than 3. */ - unsigned int n_tensor_pols; + const unsigned int n_tensor_pols; /** * Each tensor product polynomial @þ{i} is a product of one-dimensional