]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark one parameter as const.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 12 Oct 2005 02:04:04 +0000 (02:04 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 12 Oct 2005 02:04:04 +0000 (02:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@11589 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_dgp.cc

index 4f90ec8920c9f3cc28ff52503d9277e46d3f473b..f0f1917a1003a6cad0fd63558b469c59845b39c5 100644 (file)
@@ -87,7 +87,7 @@ FE_DGP<dim>::clone() const
 
 template <int dim>
 std::vector<unsigned int>
-FE_DGP<dim>::get_dpo_vector(unsigned int deg)
+FE_DGP<dim>::get_dpo_vector(const unsigned int deg)
 {
   std::vector<unsigned int> dpo(dim+1, 0U);
   dpo[dim] = ++deg;

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.