From: wolf Date: Fri, 8 Apr 2005 20:55:22 +0000 (+0000) Subject: No point in passing an integer arg by reference. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39a1d72573dced9cd1ec7104a11f96a08dd5f1db;p=dealii-svn.git No point in passing an integer arg by reference. git-svn-id: https://svn.dealii.org/trunk@10445 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/dofs/dof_constraints.templates.h b/deal.II/deal.II/include/dofs/dof_constraints.templates.h index e34008c40d..d444870d1a 100644 --- a/deal.II/deal.II/include/dofs/dof_constraints.templates.h +++ b/deal.II/deal.II/include/dofs/dof_constraints.templates.h @@ -35,7 +35,7 @@ namespace inline bool is_fixed (const std::map &fixed_dofs, - const unsigned int &i) + const unsigned int i) { return (fixed_dofs.find(i) != fixed_dofs.end()); }