diff --git a/dune/solvers/common/resize.hh b/dune/solvers/common/resize.hh
index 88a7e6ac33479e367bfdc6568502421118caa4a2..0cfcab1692c09582c5840d440a955199c4556378 100644
--- a/dune/solvers/common/resize.hh
+++ b/dune/solvers/common/resize.hh
@@ -41,8 +41,8 @@ void resizeInitialize(Vector& x, const Vector& y, Value&& value)
  * the size of the given vector and assign the given
  * value to it.
  */
-template<int size, class Alloc, class Vector, class Value>
-void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, Value&& value)
+template<int size, class Alloc, class Vector>
+void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, bool value)
 {
     x.resize(y.size());
     if (value)