diff --git a/include/boost/iterator/zip_iterator.hpp b/include/boost/iterator/zip_iterator.hpp index aee58a2..d3f800c 100755 --- a/include/boost/iterator/zip_iterator.hpp +++ b/include/boost/iterator/zip_iterator.hpp @@ -32,10 +32,6 @@ #include -#if BOOST_WORKAROUND(__GNUC__, == 2) || BOOST_WORKAROUND(__MWERKS__, <= 0x2407) -# include -#endif - #include #include #include @@ -106,23 +102,13 @@ namespace boost { template struct apply { -#if BOOST_WORKAROUND(__EDG_VERSION__, != 0) \ - || BOOST_WORKAROUND(__GNUC__, == 2) \ - || BOOST_WORKAROUND(__MWERKS__, <= 0x2407) typedef typename - iterator_traits< - typename boost::remove_cv::type - >::reference + iterator_traits::reference type; -#else - typedef typename - iterator_traits::reference - type; -#endif }; template - typename apply::type operator()(Iterator& it) + typename apply::type operator()(Iterator const& it) { return *it; } };