diff --git a/include/boost/iterator/counting_iterator.hpp b/include/boost/iterator/counting_iterator.hpp index 0a55967..d21ea8f 100644 --- a/include/boost/iterator/counting_iterator.hpp +++ b/include/boost/iterator/counting_iterator.hpp @@ -127,7 +127,7 @@ namespace detail { static Difference distance(Incrementable1 x, Incrementable2 y) { - return boost::detail::distance(x, y); + return y - x; } };