|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61098 - trunk/libs/range/test
From: neil_at_[hidden]
Date: 2010-04-06 06:12:11
Author: neilgroves
Date: 2010-04-06 06:12:11 EDT (Tue, 06 Apr 2010)
New Revision: 61098
URL: http://svn.boost.org/trac/boost/changeset/61098
Log:
Boost.Range - avoid accidental ADL of begin/end functions.
Text files modified:
trunk/libs/range/test/iterator_range.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/range/test/iterator_range.cpp
==============================================================================
--- trunk/libs/range/test/iterator_range.cpp (original)
+++ trunk/libs/range/test/iterator_range.cpp 2010-04-06 06:12:11 EDT (Tue, 06 Apr 2010)
@@ -61,7 +61,7 @@
BOOST_CHECK_EQUAL( r2.size(), size( r2 ) );
BOOST_CHECK_EQUAL( std::distance( r.begin(), r.end() ),
- std::distance( begin( r2 ), end( r2 ) ) );
+ std::distance( boost::begin( r2 ), boost::end( r2 ) ) );
std::cout << r << r2;
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