Boost logo

Boost-Commit :

From: chochlik_at_[hidden]
Date: 2008-05-16 14:05:25


Author: matus.chochlik
Date: 2008-05-16 14:05:25 EDT (Fri, 16 May 2008)
New Revision: 45439
URL: http://svn.boost.org/trac/boost/changeset/45439

Log:
Fixed things which caused compilation errors on gcc
Text files modified:
   sandbox/mirror/boost/mirror/algorithm/detail/iterative.hpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: sandbox/mirror/boost/mirror/algorithm/detail/iterative.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/algorithm/detail/iterative.hpp (original)
+++ sandbox/mirror/boost/mirror/algorithm/detail/iterative.hpp 2008-05-16 14:05:25 EDT (Fri, 16 May 2008)
@@ -17,6 +17,7 @@
 // mirror::size
 #include <boost/mirror/algorithm/size.hpp>
 #include <boost/mirror/algorithm/iterator_equal.hpp>
+#include <boost/mirror/algorithm/next.hpp>
 //
 #include <boost/ref.hpp>
 
@@ -58,8 +59,8 @@
                         op(transf(meta_object()));
                 }
         
- typedef typename IteratorBegin begin;
- typedef typename IteratorEnd end;
+ typedef IteratorBegin begin;
+ typedef IteratorEnd end;
                 typedef typename mpl::int_<1> forward;
                 typedef typename mpl::int_<-1> reverse;
 
@@ -121,7 +122,7 @@
                 {
                         Direction dir;
                         pre_apply_to(op, transf, i, dir);
- typedef typename next<Iterator>::type J;
+ typedef typename boost::mirror::next<Iterator>::type J;
                         typename iterator_equal<J, end>::type done;
                         apply_to(op, transf, J(), done);
                         post_apply_to(op, transf, i, dir);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk