diff --git a/include/boost/histogram/detail/nstore.hpp b/include/boost/histogram/detail/nstore.hpp index af465cd6..41c02e9e 100644 --- a/include/boost/histogram/detail/nstore.hpp +++ b/include/boost/histogram/detail/nstore.hpp @@ -133,12 +133,11 @@ private: typename disable_if, void>::type increase_impl(size_type i) { - typedef typename next_storage_type::type U; T& b = static_cast(buffer_)[i]; if (b == std::numeric_limits::max()) { grow_impl(); - increase_impl(i); + increase_impl::type>(i); } else { ++b;