Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84767 - in branches/release/boost/chrono: detail io io_v1
From: vicente.botet_at_[hidden]
Date: 2013-06-14 01:14:49


Author: viboes
Date: 2013-06-14 01:14:48 EDT (Fri, 14 Jun 2013)
New Revision: 84767
URL: http://svn.boost.org/trac/boost/changeset/84767

Log:
Chrono: fix #8690.

Properties modified:
   branches/release/boost/chrono/detail/ (props changed)
   branches/release/boost/chrono/io/ (props changed)
   branches/release/boost/chrono/io_v1/ (props changed)
Text files modified:
   branches/release/boost/chrono/io/duration_units.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/chrono/io/duration_units.hpp
==============================================================================
--- branches/release/boost/chrono/io/duration_units.hpp Thu Jun 13 18:08:26 2013 (r84766)
+++ branches/release/boost/chrono/io/duration_units.hpp 2013-06-14 01:14:48 EDT (Fri, 14 Jun 2013) (r84767)
@@ -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