Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75147 - trunk/boost/chrono/io
From: vicente.botet_at_[hidden]
Date: 2011-10-27 17:50:04


Author: viboes
Date: 2011-10-27 17:50:04 EDT (Thu, 27 Oct 2011)
New Revision: 75147
URL: http://svn.boost.org/trac/boost/changeset/75147

Log:
Chrono: fix [1/1]seconds
Text files modified:
   trunk/boost/chrono/io/duration_unit_string.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/chrono/io/duration_unit_string.hpp
==============================================================================
--- trunk/boost/chrono/io/duration_unit_string.hpp (original)
+++ trunk/boost/chrono/io/duration_unit_string.hpp 2011-10-27 17:50:04 EDT (Thu, 27 Oct 2011)
@@ -54,7 +54,7 @@
         { 's', 'e', 'c', 'o', 'n', 'd', 's' };
         static const std::basic_string<CharT> suffix(u, u + sizeof(u)
             / sizeof(u[0]));
- return ::boost::ratio_string<ratio<1>, CharT>::long_name()+suffix;
+ return suffix;
       }
       static std::basic_string<CharT> singular()
       {
@@ -62,7 +62,7 @@
         { 's', 'e', 'c', 'o', 'n', 'd' };
         static const std::basic_string<CharT> suffix(u, u + sizeof(u)
             / sizeof(u[0]));
- return ::boost::ratio_string<ratio<1>, CharT>::long_name()+suffix;
+ return suffix;
       }
       static std::basic_string<CharT> 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