From 56d470635de63862856b27be36dbf2eb9d75b043 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Wed, 23 Nov 2016 14:47:42 -0800 Subject: [PATCH] Qualify call to boost::size to avoid ambiguity with std::size --- test/iterator_range.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/iterator_range.cpp b/test/iterator_range.cpp index 97c966a..9bbcff2 100644 --- a/test/iterator_range.cpp +++ b/test/iterator_range.cpp @@ -59,8 +59,8 @@ void check_iterator_range() BOOST_CHECK( false ); //#endif - BOOST_CHECK_EQUAL( r.size(), size( r ) ); - BOOST_CHECK_EQUAL( r2.size(), size( r2 ) ); + BOOST_CHECK_EQUAL( r.size(), boost::size( r ) ); + BOOST_CHECK_EQUAL( r2.size(), boost::size( r2 ) ); BOOST_CHECK_EQUAL( std::distance( r.begin(), r.end() ), std::distance( boost::begin( r2 ), boost::end( r2 ) ) );