From e84fdef165e1c13bd087d52485bd8e5673ea7ca5 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 25 Jul 2005 20:52:20 +0000 Subject: [PATCH] Make a variable const. git-svn-id: https://svn.dealii.org/trunk@11200 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_out.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5