From: wolf Date: Wed, 18 Sep 2002 15:03:36 +0000 (+0000) Subject: Make an input parameter const. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=648f7f03c8fd5e12ca919c09a629b942bccc25e9;p=dealii-svn.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()));