]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make an input parameter const.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Sep 2002 15:03:36 +0000 (15:03 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Sep 2002 15:03:36 +0000 (15:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@6457 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_base.h

index bbdbf6d1ff03bd5c79b7b201fc1463b11aced6c7..f40a7e25cc0d715b1dde0126e2ecffdc19567daa 100644 (file)
@@ -780,7 +780,7 @@ class FiniteElementBase : public Subscriptor,
                                      * is always equalt to zero.
                                      */
     std::pair<unsigned int,unsigned int>
-    component_to_base (unsigned int component) const;
+    component_to_base (const unsigned int component) const;
 
                                     /**
                                      * Access the
@@ -1505,7 +1505,7 @@ FiniteElementBase<dim>::face_system_to_component_index (const unsigned int index
 template <int dim>  
 inline
 std::pair<unsigned int,unsigned int>
-FiniteElementBase<dim>::component_to_base (unsigned int index) const
+FiniteElementBase<dim>::component_to_base (const unsigned int index) const
 {
   Assert(index < component_to_base_table.size(),
         ExcIndexRange(index, 0, component_to_base_table.size()));

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.