Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-01-09 18:16:17


Author: turkanis
Date: 2008-01-09 18:16:17 EST (Wed, 09 Jan 2008)
New Revision: 42645
URL: http://svn.boost.org/trac/boost/changeset/42645

Log:
replaced 2 occurrences of the identifier 'restrict' with BOOST_IOSTREAMS_RESTRICT
Text files modified:
   trunk/boost/iostreams/detail/restrict_impl.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/boost/iostreams/detail/restrict_impl.hpp
==============================================================================
--- trunk/boost/iostreams/detail/restrict_impl.hpp (original)
+++ trunk/boost/iostreams/detail/restrict_impl.hpp 2008-01-09 18:16:17 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