|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2008-01-09 18:03:40
Author: turkanis
Date: 2008-01-09 18:03:40 EST (Wed, 09 Jan 2008)
New Revision: 42643
URL: http://svn.boost.org/trac/boost/changeset/42643
Log:
replaced 2 occurrences of the identifier 'restrict' with BOOST_IOSTREAMS_RESTRICT
Text files modified:
branches/iostreams_dev/boost/iostreams/detail/restrict_impl.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: branches/iostreams_dev/boost/iostreams/detail/restrict_impl.hpp
==============================================================================
--- branches/iostreams_dev/boost/iostreams/detail/restrict_impl.hpp (original)
+++ branches/iostreams_dev/boost/iostreams/detail/restrict_impl.hpp 2008-01-09 18:03:40 EST (Wed, 09 Jan 2008)
@@ -383,7 +383,8 @@
template<typename Ch, typename Tr>
restriction< std::basic_streambuf<Ch, Tr> >
-restrict(std::basic_streambuf<Ch, Tr>& sb, stream_offset off, stream_offset len = -1)
+BOOST_IOSTREAMS_RESTRICT( std::basic_streambuf<Ch, Tr>& sb, stream_offset off,
+ stream_offset len = -1 )
{ return restriction< std::basic_streambuf<Ch, Tr> >(sb, off, len); }
template<typename Ch, typename Tr>
@@ -453,7 +454,7 @@
restriction<T>
BOOST_IOSTREAMS_RESTRICT( const T& t, stream_offset off, stream_offset len = -1
BOOST_IOSTREAMS_DISABLE_IF_STREAM(T) )
-{ return restrict(t, off, len, is_std_io<T>()); }
+{ return BOOST_IOSTREAMS_RESTRICT(t, off, len, is_std_io<T>()); }
# if !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && \
!BOOST_WORKAROUND(BOOST_MSVC, <= 1300) && \
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