diff --git a/sprout/iterator/advance.hpp b/sprout/iterator/advance.hpp index 614d7b95..f2557921 100644 --- a/sprout/iterator/advance.hpp +++ b/sprout/iterator/advance.hpp @@ -45,9 +45,9 @@ namespace sprout { // // advance // - template + template::difference_type> inline SPROUT_CXX14_CONSTEXPR void - advance(Iterator& it, Distance n) { + advance(Iterator& it, Distance n = 1) { typedef typename std::iterator_traits::iterator_category* category; sprout::detail::advance_impl(it, n, category()); }