From: Wolfgang Bangerth Date: Wed, 18 Sep 2002 15:03:36 +0000 (+0000) Subject: Make an input parameter const. X-Git-Tag: v8.0.0~17521 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5feb59ce9c2894f04dbeb4d2b724ee69b8f166c1;p=dealii.git Make an input parameter const. git-svn-id: https://svn.dealii.org/trunk@6457 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_base.h b/deal.II/deal.II/include/fe/fe_base.h index bbdbf6d1ff..f40a7e25cc 100644 --- a/deal.II/deal.II/include/fe/fe_base.h +++ b/deal.II/deal.II/include/fe/fe_base.h @@ -780,7 +780,7 @@ class FiniteElementBase : public Subscriptor, * is always equalt to zero. */ std::pair - component_to_base (unsigned int component) const; + component_to_base (const unsigned int component) const; /** * Access the @@ -1505,7 +1505,7 @@ FiniteElementBase::face_system_to_component_index (const unsigned int index template inline std::pair -FiniteElementBase::component_to_base (unsigned int index) const +FiniteElementBase::component_to_base (const unsigned int index) const { Assert(index < component_to_base_table.size(), ExcIndexRange(index, 0, component_to_base_table.size()));