From: wolf Date: Mon, 25 Jul 2005 20:52:20 +0000 (+0000) Subject: Make a variable const. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e84fdef165e1c13bd087d52485bd8e5673ea7ca5;p=dealii-svn.git Make a variable const. git-svn-id: https://svn.dealii.org/trunk@11200 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index 6c96915b97..f47e8eff31 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -237,7 +237,7 @@ add_data_vector (const VECTOR &vec, const std::string &name, const DataVectorType type) { - unsigned int n_components = dofs->get_fe().n_components (); + const unsigned int n_components = dofs->get_fe().n_components (); std::vector names; // if only one component or vector