Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2007-11-29 04:19:26


Author: nesotto
Date: 2007-11-29 04:19:24 EST (Thu, 29 Nov 2007)
New Revision: 41457
URL: http://svn.boost.org/trac/boost/changeset/41457

Log:
fixed a serious oversigt
Text files modified:
   trunk/boost/range/iterator_range.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/range/iterator_range.hpp
==============================================================================
--- trunk/boost/range/iterator_range.hpp (original)
+++ trunk/boost/range/iterator_range.hpp 2007-11-29 04:19:24 EST (Thu, 29 Nov 2007)
@@ -77,8 +77,8 @@
         {
             typedef BOOST_DEDUCED_TYPENAME boost::range_difference<Left>::type sz_type;
 
- sz_type l_size = boost::size( l ),
- r_size = boost::size( r );
+ sz_type l_size = boost::distance( l ),
+ r_size = boost::distance( r );
 
             if( l_size != r_size )
                 return false;


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