diff options
Diffstat (limited to '3rdParty/Boost/src/boost/mpl/for_each.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/mpl/for_each.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/3rdParty/Boost/src/boost/mpl/for_each.hpp b/3rdParty/Boost/src/boost/mpl/for_each.hpp index 668ec6a..89abc85 100644 --- a/3rdParty/Boost/src/boost/mpl/for_each.hpp +++ b/3rdParty/Boost/src/boost/mpl/for_each.hpp @@ -10,9 +10,9 @@ // // See http://www.boost.org/libs/mpl for documentation. -// $Id: for_each.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ -// $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $ -// $Revision: 49267 $ +// $Id: for_each.hpp 55648 2009-08-18 05:16:53Z agurtovoy $ +// $Date: 2009-08-18 01:16:53 -0400 (Tue, 18 Aug 2009) $ +// $Revision: 55648 $ #include <boost/mpl/is_sequence.hpp> #include <boost/mpl/begin_end.hpp> @@ -76,7 +76,7 @@ struct for_each_impl<false> typedef typename mpl::next<Iterator>::type iter; for_each_impl<boost::is_same<iter,LastIterator>::value> - ::execute((iter*)0, (LastIterator*)0, (TransformFunc*)0, f); + ::execute( static_cast<iter*>(0), static_cast<LastIterator*>(0), static_cast<TransformFunc*>(0), f); } }; @@ -98,7 +98,7 @@ void for_each(F f, Sequence* = 0, TransformOp* = 0) typedef typename end<Sequence>::type last; aux::for_each_impl< boost::is_same<first,last>::value > - ::execute((first*)0, (last*)0, (TransformOp*)0, f); + ::execute(static_cast<first*>(0), static_cast<last*>(0), static_cast<TransformOp*>(0), f); } template< |