Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75517 - trunk/boost/chrono/io
From: vicente.botet_at_[hidden]
Date: 2011-11-16 17:37:42


Author: viboes
Date: 2011-11-16 17:37:42 EST (Wed, 16 Nov 2011)
New Revision: 75517
URL: http://svn.boost.org/trac/boost/changeset/75517

Log:
Chrono: remove traces
Text files modified:
   trunk/boost/chrono/io/time_point_get.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/chrono/io/time_point_get.hpp
==============================================================================
--- trunk/boost/chrono/io/time_point_get.hpp (original)
+++ trunk/boost/chrono/io/time_point_get.hpp 2011-11-16 17:37:42 EST (Wed, 16 Nov 2011)
@@ -142,7 +142,7 @@
         err = std::ios_base::goodbit;
         while (pattern != pat_end && err == std::ios_base::goodbit)
         {
- std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
+ //std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
           if (s == end)
           {
             err |= std::ios_base::eofbit;
@@ -167,7 +167,7 @@
               }
               duration_found = true;
               s = get_duration(s, end, ios, err, d);
- std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
+ //std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
               if (err & (std::ios_base::badbit | std::ios_base::failbit))
               {
                 return s;
@@ -183,7 +183,7 @@
               }
               epoch_found = true;
               s = get_epoch<Clock> (facet, s, end, ios, err);
- std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
+ //std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
               if (err & (std::ios_base::badbit | std::ios_base::failbit))
               {
                 return s;
@@ -231,7 +231,7 @@
 
         // Success! Store it.
         tp = time_point<Clock, Duration> (d);
- std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
+ //std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
 
         return s;
       }
@@ -329,13 +329,13 @@
         std::ptrdiff_t k = chrono_detail::scan_keyword(i, e, &units, &units + 1,
         //~ std::use_facet<std::ctype<CharT> >(ios.getloc()),
             err) - &units;
- std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
+ //std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
         if (k == 1)
         {
           err |= std::ios_base::failbit;
           return i;
         }
- std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
+ //std::cerr << __FILE__ << ":" << __LINE__ << " err " << err << std::endl;
         return i;
       }
 


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