From 5fe19c07d62804bc878c80e8083efc0ac9b5a65b Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 6 Aug 2008 16:42:57 +0000 Subject: [PATCH] Mark an input argument as const in a number of places. git-svn-id: https://svn.dealii.org/trunk@16499 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/grid/tria_accessor.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/deal.II/include/grid/tria_accessor.h b/deal.II/deal.II/include/grid/tria_accessor.h index 0db0d91440..1c43fe7fac 100644 --- a/deal.II/deal.II/include/grid/tria_accessor.h +++ b/deal.II/deal.II/include/grid/tria_accessor.h @@ -741,7 +741,7 @@ class TriaObjectAccessor : public TriaAccessor * 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 * 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 -- 2.39.5