Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83506 - trunk/libs/iostreams/test
From: steven_at_[hidden]
Date: 2013-03-20 12:31:16


Author: steven_watanabe
Date: 2013-03-20 12:31:15 EDT (Wed, 20 Mar 2013)
New Revision: 83506
URL: http://svn.boost.org/trac/boost/changeset/83506

Log:
Fix ambiguity with C++11 std::array.
Text files modified:
   trunk/libs/iostreams/test/restrict_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/iostreams/test/restrict_test.cpp
==============================================================================
--- trunk/libs/iostreams/test/restrict_test.cpp (original)
+++ trunk/libs/iostreams/test/restrict_test.cpp 2013-03-20 12:31:15 EDT (Wed, 20 Mar 2013)
@@ -492,7 +492,7 @@
             data_reps * data_length() + 2 * small_padding, '\n');
         stream_offset off = small_padding,
                                    len = data_reps * data_length();
- array ar(&src[0], &src[0] + src.size());
+ io::array ar(&src[0], &src[0] + src.size());
         filtering_stream<seekable> io(BOOST_RESTRICT(ar, off, len));
         BOOST_CHECK_MESSAGE(
             test_seekable_in_chars(io),
@@ -504,7 +504,7 @@
         vector<char> src(
             data_reps * data_length() + small_padding, '\n');
         stream_offset off = small_padding;
- array ar(&src[0], &src[0] + src.size());
+ io::array ar(&src[0], &src[0] + src.size());
         filtering_stream<seekable> io(BOOST_RESTRICT(ar, off));
         BOOST_CHECK_MESSAGE(
             test_seekable_in_chars(io),


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