]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a variable 'const'. 8716/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 9 Sep 2019 17:39:13 +0000 (11:39 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 9 Sep 2019 17:39:13 +0000 (11:39 -0600)
include/deal.II/fe/fe_poly_tensor.h

index f50a073936ef77e649788c5cf7883f0bfd1e2bb2..fef42ba72cbd72bf3cf55fef0f924efb4f09eb9e 100644 (file)
@@ -471,10 +471,10 @@ protected:
 
 
   /**
-   * The polynomial space. Its type is given by the template parameter
-   * PolynomialType.
+   * A copy of the object passed to the constructor that describes the
+   * polynomial space.
    */
-  std::unique_ptr<TensorPolynomialsBase<dim>> poly_space;
+  const std::unique_ptr<const TensorPolynomialsBase<dim>> poly_space;
 
   /**
    * The inverse of the matrix <i>a<sub>ij</sub></i> of node values

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.