Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74688 - trunk/boost/chrono/io
From: vicente.botet_at_[hidden]
Date: 2011-10-04 06:20:19


Author: viboes
Date: 2011-10-04 06:20:18 EDT (Tue, 04 Oct 2011)
New Revision: 74688
URL: http://svn.boost.org/trac/boost/changeset/74688

Log:
Chrono: rename prefix_text by prefix
Text files modified:
   trunk/boost/chrono/io/duration_io.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/chrono/io/duration_io.hpp
==============================================================================
--- trunk/boost/chrono/io/duration_io.hpp (original)
+++ trunk/boost/chrono/io/duration_io.hpp 2011-10-04 06:20:18 EDT (Tue, 04 Oct 2011)
@@ -36,7 +36,7 @@
     {
       enum type
       {
- prefix_text, symbol
+ prefix, symbol
       };
     };
 
@@ -263,7 +263,7 @@
     {
       if (d.get_duration_style() == duration_style::symbol)
       os << duration_short;
- else if (d.get_duration_style() == duration_style::prefix_text)
+ else if (d.get_duration_style() == duration_style::prefix)
       os << duration_long;
       return os;
     }
@@ -277,7 +277,7 @@
     {
       if (d.get_duration_style() == duration_style::symbol)
       is >> duration_short;
- else if (d.get_duration_style() == duration_style::prefix_text)
+ else if (d.get_duration_style() == duration_style::prefix)
       is >> duration_long;
       return is;
     }
@@ -311,7 +311,7 @@
 
         const Facet& f = std::use_facet<Facet>(s_save_.getloc());
         if (f.is_long_name())
- a_save_ = duration_style::prefix_text;
+ a_save_ = duration_style::prefix;
         else
           a_save_ = duration_style::symbol;
       }


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