From: Luca Heltai Date: Mon, 12 Jan 2015 14:02:48 +0000 (+0100) Subject: Fixed value instead of reference. X-Git-Tag: v8.3.0-rc1~555^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F422%2Fhead;p=dealii.git Fixed value instead of reference. --- diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index db4e1ed164..54c0135419 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -1628,26 +1628,24 @@ public: void set_manifold (const types::manifold_id number); /** - * Set the manifold_id of all of cells and faces to the given - * argument. + * Set the manifold_id of all cells and faces to the given argument. * * @ingroup manifold * * @see * @ref GlossManifoldIndicator "Glossary entry on manifold indicators" */ - void set_all_manifold_ids (const types::manifold_id &number); + void set_all_manifold_ids (const types::manifold_id number); /** - * Set the manifold_id of all of boundary faces to the given - * argument. + * Set the manifold_id of all boundary faces to the given argument. * * @ingroup manifold * * @see * @ref GlossManifoldIndicator "Glossary entry on manifold indicators" */ - void set_all_manifold_ids_on_boundary (const types::manifold_id &number); + void set_all_manifold_ids_on_boundary (const types::manifold_id number); /** diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 785a5408b7..f4b9f7ea87 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -8772,7 +8772,7 @@ Triangulation::set_manifold (const types::manifold_id m_number) template void -Triangulation::set_all_manifold_ids (const types::manifold_id &m_number) +Triangulation::set_all_manifold_ids (const types::manifold_id m_number) { typename Triangulation::active_cell_iterator cell=this->begin_active(), endc=this->end(); @@ -8784,7 +8784,7 @@ Triangulation::set_all_manifold_ids (const types::manifold_id &m_ template void -Triangulation::set_all_manifold_ids_on_boundary (const types::manifold_id &m_number) +Triangulation::set_all_manifold_ids_on_boundary (const types::manifold_id m_number) { typename Triangulation::active_cell_iterator cell=this->begin_active(), endc=this->end();