Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60984 - trunk/libs/iostreams/test
From: daniel_james_at_[hidden]
Date: 2010-03-31 17:42:33


Author: danieljames
Date: 2010-03-31 17:42:32 EDT (Wed, 31 Mar 2010)
New Revision: 60984
URL: http://svn.boost.org/trac/boost/changeset/60984

Log:
Explicitly qualify call to equal for compilers which find it ambiguous.
Text files modified:
   trunk/libs/iostreams/test/wide_stream_test.cpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/iostreams/test/wide_stream_test.cpp
==============================================================================
--- trunk/libs/iostreams/test/wide_stream_test.cpp (original)
+++ trunk/libs/iostreams/test/wide_stream_test.cpp 2010-03-31 17:42:32 EDT (Wed, 31 Mar 2010)
@@ -94,7 +94,7 @@
         write_data_in_chars(out);
         BOOST_CHECK_MESSAGE(
             first.size() == second.size() &&
- equal(first.begin(), first.end(), second.begin()),
+ std::equal(first.begin(), first.end(), second.begin()),
             "failed writing to filtering_wostream in chars with no buffer"
         );
     }
@@ -106,7 +106,7 @@
         write_data_in_chunks(out);
         BOOST_CHECK_MESSAGE(
             first.size() == second.size() &&
- equal(first.begin(), first.end(), second.begin()),
+ std::equal(first.begin(), first.end(), second.begin()),
             "failed writing to filtering_wostream in chunks with no buffer"
         );
     }
@@ -118,7 +118,7 @@
         write_data_in_chars(out);
         BOOST_CHECK_MESSAGE(
             first.size() == second.size() &&
- equal(first.begin(), first.end(), second.begin()),
+ std::equal(first.begin(), first.end(), second.begin()),
             "failed writing to filtering_wostream in chars with large buffer"
         );
     }
@@ -130,7 +130,7 @@
         write_data_in_chunks(out);
         BOOST_CHECK_MESSAGE(
             first.size() == second.size() &&
- equal(first.begin(), first.end(), second.begin()),
+ std::equal(first.begin(), first.end(), second.begin()),
             "failed writing to filtering_wostream in chunks with large buffer"
         );
     }


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