From: Wolfgang Bangerth Date: Sat, 1 Jul 2023 16:18:35 +0000 (-0600) Subject: Do not take scalars by reference. X-Git-Tag: relicensing~821^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=094649a2c0fcb2146aa0261af8bfd30b720f2d26;p=dealii.git Do not take scalars by reference. --- diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index 906e2be1f6..bdb4671b17 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -1654,7 +1654,7 @@ public: ConstraintLine(const size_type &index = numbers::invalid_dof_index, const typename AffineConstraints< number>::ConstraintLine::Entries &entries = {}, - const number & inhomogeneity = 0.0); + const number inhomogeneity = 0.0); /** * Copy constructor. @@ -2532,7 +2532,7 @@ template inline AffineConstraints::ConstraintLine::ConstraintLine( const size_type & index, const typename AffineConstraints::ConstraintLine::Entries &entries, - const number &inhomogeneity) + const number inhomogeneity) : index(index) , entries(entries) , inhomogeneity(inhomogeneity)