Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-05-31 18:50:57


Author: turkanis
Date: 2008-05-31 18:50:56 EDT (Sat, 31 May 2008)
New Revision: 45998
URL: http://svn.boost.org/trac/boost/changeset/45998

Log:
removed commented-out code
Text files modified:
   trunk/boost/iostreams/detail/buffer.hpp | 5 -----
   1 files changed, 0 insertions(+), 5 deletions(-)

Modified: trunk/boost/iostreams/detail/buffer.hpp
==============================================================================
--- trunk/boost/iostreams/detail/buffer.hpp (original)
+++ trunk/boost/iostreams/detail/buffer.hpp 2008-05-31 18:50:56 EDT (Sat, 31 May 2008)
@@ -104,11 +104,6 @@
             iostreams::read(src, this->data() + keep, this->size() - keep);
         if (result != -1)
             this->set(0, keep + result);
- //return result == this->size() - keep ?
- // traits_type::good() :
- // keep == -1 ?
- // traits_type::eof() :
- // traits_type::would_block();
         return result == -1 ?
             traits_type::eof() :
                 result == 0 ?


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