]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mark an input argument as const in a number of places.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Aug 2008 16:42:57 +0000 (16:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Aug 2008 16:42:57 +0000 (16:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@16499 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_accessor.h

index 0db0d914401540b729f67de0f666718fb4482a79..1c43fe7facfb6892ff4156247c1db39c5807f05a 100644 (file)
@@ -741,7 +741,7 @@ class TriaObjectAccessor :  public TriaAccessor<celldim,dim>
                                      * Set the user index
                                      * to @p p.
                                      */
-    void set_user_index (unsigned int p) const;
+    void set_user_index (const unsigned int p) const;
     
                                     /**
                                      * Reset the user index to 0.
@@ -772,7 +772,7 @@ class TriaObjectAccessor :  public TriaAccessor<celldim,dim>
                                      * the user index of all finer
                                      * levels of the triangulation.
                                      */
-    void recursively_set_user_index (unsigned int p) const;
+    void recursively_set_user_index (const unsigned int p) const;
 
                                     /**
                                      * Clear the user index of this
@@ -1520,7 +1520,7 @@ class TriaObjectAccessor<1, dim> :  public TriaAccessor<1,dim>
                                      * Set the user index
                                      * to @p p.
                                      */
-    void set_user_index (unsigned int p) const;
+    void set_user_index (const unsigned int p) const;
     
                                     /**
                                      * Reset the user index to 0.
@@ -1551,7 +1551,7 @@ class TriaObjectAccessor<1, dim> :  public TriaAccessor<1,dim>
                                      * the user index of all finer
                                      * levels of the triangulation.
                                      */
-    void recursively_set_user_index (unsigned int p) const;
+    void recursively_set_user_index (const unsigned int p) const;
 
                                     /**
                                      * Clear the user index of this
@@ -2216,7 +2216,7 @@ class TriaObjectAccessor<2, dim> :  public TriaAccessor<2,dim>
                                      * Set the user index
                                      * to @p p.
                                      */
-    void set_user_index (unsigned int p) const;
+    void set_user_index (const unsigned int p) const;
     
                                     /**
                                      * Reset the user index to 0.
@@ -2247,7 +2247,7 @@ class TriaObjectAccessor<2, dim> :  public TriaAccessor<2,dim>
                                      * the user index of all finer
                                      * levels of the triangulation.
                                      */
-    void recursively_set_user_index (unsigned int p) const;
+    void recursively_set_user_index (const unsigned int p) const;
 
                                     /**
                                      * Clear the user index of this
@@ -2993,7 +2993,7 @@ class TriaObjectAccessor<3, dim> :  public TriaAccessor<3,dim>
                                      * Set the user index
                                      * to @p p.
                                      */
-    void set_user_index (unsigned int p) const;
+    void set_user_index (const unsigned int p) const;
     
                                     /**
                                      * Reset the user index to 0.
@@ -3024,7 +3024,7 @@ class TriaObjectAccessor<3, dim> :  public TriaAccessor<3,dim>
                                      * the user index of all finer
                                      * levels of the triangulation.
                                      */
-    void recursively_set_user_index (unsigned int p) const;
+    void recursively_set_user_index (const unsigned int p) const;
 
                                     /**
                                      * Clear the user index of this

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.