|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84509 - trunk/libs/iostreams/test
From: dnljms_at_[hidden]
Date: 2013-05-26 10:16:45
Author: danieljames
Date: 2013-05-26 10:16:44 EDT (Sun, 26 May 2013)
New Revision: 84509
URL: http://svn.boost.org/trac/boost/changeset/84509
Log:
Fix C++11 array ambiguity in iostreams tests.
Text files modified:
trunk/libs/iostreams/test/array_test.cpp | 4 ++--
trunk/libs/iostreams/test/direct_adapter_test.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/libs/iostreams/test/array_test.cpp
==============================================================================
--- trunk/libs/iostreams/test/array_test.cpp (original)
+++ trunk/libs/iostreams/test/array_test.cpp 2013-05-26 10:16:44 EDT (Sun, 26 May 2013)
@@ -74,7 +74,7 @@
{
vector<char> first(data_reps * data_length(), '?');
- stream<array> io(&first[0], &first[0] + first.size());
+ stream<boost::iostreams::array> io(&first[0], &first[0] + first.size());
BOOST_CHECK_MESSAGE(
test_seekable_in_chars(io),
"failed seeking within stream<array>, in chars"
@@ -83,7 +83,7 @@
{
vector<char> first(data_reps * data_length(), '?');
- stream<array> io(&first[0], &first[0] + first.size());
+ stream<boost::iostreams::array> io(&first[0], &first[0] + first.size());
BOOST_CHECK_MESSAGE(
test_seekable_in_chars(io),
"failed seeking within stream<array>, in chunks"
Modified: trunk/libs/iostreams/test/direct_adapter_test.cpp
==============================================================================
--- trunk/libs/iostreams/test/direct_adapter_test.cpp (original)
+++ trunk/libs/iostreams/test/direct_adapter_test.cpp 2013-05-26 10:16:44 EDT (Sun, 26 May 2013)
@@ -28,7 +28,7 @@
indirect_array_source;
typedef boost::iostreams::detail::direct_adapter<array_sink>
indirect_array_sink;
- typedef boost::iostreams::detail::direct_adapter<array>
+ typedef boost::iostreams::detail::direct_adapter<boost::iostreams::array>
indirect_array;
typedef stream<indirect_array_source>
indirect_array_istream;
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