diff --git a/include/boost/iterator/counting_iterator.hpp b/include/boost/iterator/counting_iterator.hpp index 7b772ed..1298a31 100644 --- a/include/boost/iterator/counting_iterator.hpp +++ b/include/boost/iterator/counting_iterator.hpp @@ -172,7 +172,7 @@ class counting_iterator # if 0 template counting_iterator( - counting_iterator const& t + counting_iterator const& t , typename enable_if_convertible::type* = 0 ) : super_t(t.base()) @@ -188,7 +188,7 @@ class counting_iterator template difference_type - distance_to(counting_iterator const& y) const + distance_to(counting_iterator const& y) const { typedef typename mpl::if_< detail::is_numeric diff --git a/test/counting_iterator_test.cpp b/test/counting_iterator_test.cpp index c30a3e0..7b19ba8 100644 --- a/test/counting_iterator_test.cpp +++ b/test/counting_iterator_test.cpp @@ -277,6 +277,7 @@ int main() // Test user-defined type. test_integer3(); + test_integer3(); test_integer(); test_integer();