Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84751 - trunk/boost/chrono/io
From: vicente.botet_at_[hidden]
Date: 2013-06-12 17:05:21


Author: viboes
Date: 2013-06-12 17:05:21 EDT (Wed, 12 Jun 2013)
New Revision: 84751
URL: http://svn.boost.org/trac/boost/changeset/84751

Log:
Chrono: apply patch for #8690

Text files modified:
   trunk/boost/chrono/io/duration_units.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/chrono/io/duration_units.hpp
==============================================================================
--- trunk/boost/chrono/io/duration_units.hpp Wed Jun 12 16:54:44 2013 (r84750)
+++ trunk/boost/chrono/io/duration_units.hpp 2013-06-12 17:05:21 EDT (Wed, 12 Jun 2013) (r84751)
@@ -342,14 +342,14 @@
       /**
        * @return pointer to the start of valid units.
        */
- virtual string_type* get_valid_units_start() const
+ virtual const string_type* get_valid_units_start() const
       {
         return detail::duration_units_default_holder<CharT>::valid_units_;
       }
       /**
        * @return pointer to the end of valid units.
        */
- virtual string_type* get_valid_units_end() const
+ virtual const string_type* get_valid_units_end() const
       {
         return detail::duration_units_default_holder<CharT>::valid_units_ + 19 * (pfs_ + 1);
       }


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