From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Wed, 27 Jun 2018 23:08:02 +0000 (-0600)
Subject: Pass an unsigned int by value, rather than reference.
X-Git-Tag: v9.1.0-rc1~975^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18fc6638f3a88aaf05269d11dc1304e22142bdbf;p=dealii.git

Pass an unsigned int by value, rather than reference.
---

diff --git a/include/deal.II/numerics/kdtree.h b/include/deal.II/numerics/kdtree.h
index 16400fd9bf..a069a44597 100644
--- a/include/deal.II/numerics/kdtree.h
+++ b/include/deal.II/numerics/kdtree.h
@@ -89,7 +89,7 @@ public:
    * your points, and do not call set_points() again, then all following results
    * will likely be wrong.
    */
-  KDTree(const unsigned int &           max_leaf_size = 10,
+  KDTree(const unsigned int             max_leaf_size = 10,
          const std::vector<Point<dim>> &pts = std::vector<Point<dim>>());
 
 
diff --git a/source/numerics/kdtree.cc b/source/numerics/kdtree.cc
index 45b23a4fd6..f3bd8514b3 100644
--- a/source/numerics/kdtree.cc
+++ b/source/numerics/kdtree.cc
@@ -8,7 +8,7 @@ DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim>
-KDTree<dim>::KDTree(const unsigned int &           max_leaf_size,
+KDTree<dim>::KDTree(const unsigned int             max_leaf_size,
                     const std::vector<Point<dim>> &pts)
   : max_leaf_size(max_leaf_size)
 {