diff --git a/include/boost/iterator/iterator_traits.hpp b/include/boost/iterator/iterator_traits.hpp index 8846d3b..49c91f3 100644 --- a/include/boost/iterator/iterator_traits.hpp +++ b/include/boost/iterator/iterator_traits.hpp @@ -10,6 +10,7 @@ namespace boost { +// Obsolete. Remove. #define BOOST_ITERATOR_CATEGORY iterator_category @@ -39,7 +40,7 @@ struct iterator_difference }; template -struct BOOST_ITERATOR_CATEGORY +struct iterator_category { typedef typename boost::detail::iterator_traits::iterator_category type; }; @@ -70,7 +71,7 @@ struct iterator_difference }; template <> -struct BOOST_ITERATOR_CATEGORY +struct iterator_category { typedef void type; };