Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2007-12-29 20:51:32


Author: turkanis
Date: 2007-12-29 20:51:32 EST (Sat, 29 Dec 2007)
New Revision: 42352
URL: http://svn.boost.org/trac/boost/changeset/42352

Log:
replaced numeric literal '10' with the constant 'data_reps'; this was probably an accidentally committed temporary change which has not been noticed for a long time
Text files modified:
   branches/iostreams_dev/libs/iostreams/test/detail/verification.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/iostreams_dev/libs/iostreams/test/detail/verification.hpp
==============================================================================
--- branches/iostreams_dev/libs/iostreams/test/detail/verification.hpp (original)
+++ branches/iostreams_dev/libs/iostreams/test/detail/verification.hpp 2007-12-29 20:51:32 EST (Sat, 29 Dec 2007)
@@ -49,7 +49,7 @@
 BOOST_TEMPLATE_DECL
 bool compare_streams_in_chars(BOOST_ISTREAM& first, BOOST_ISTREAM& second)
 {
- for (int z = 0; z < 10; ++z)
+ for (int z = 0; z < data_reps; ++z)
         for (int w = 0; w < data_length(); ++w)
             if (first.eof() != second.eof() || first.get() != second.get())
                 return false;


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