Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84712 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2013-06-09 05:15:27


Author: viboes
Date: 2013-06-09 05:15:26 EDT (Sun, 09 Jun 2013)
New Revision: 84712
URL: http://svn.boost.org/trac/boost/changeset/84712

Log:
Thread: remove const on strict locks mutex() function.

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

Modified: trunk/boost/thread/strict_lock.hpp
==============================================================================
--- trunk/boost/thread/strict_lock.hpp Sun Jun 9 05:07:05 2013 (r84711)
+++ trunk/boost/thread/strict_lock.hpp 2013-06-09 05:15:26 EDT (Sun, 09 Jun 2013) (r84712)
@@ -77,7 +77,7 @@
     /**
      * @return the owned mutex.
      */
- const mutex_type* mutex() const BOOST_NOEXCEPT
+ mutex_type* mutex() const BOOST_NOEXCEPT
     {
       return &mtx_;
     }
@@ -182,7 +182,7 @@
     /**
      * return @c the owned mutex.
      */
- const mutex_type* mutex() const BOOST_NOEXCEPT
+ mutex_type* mutex() const BOOST_NOEXCEPT
     {
       return tmp_lk_.mutex();
     }


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