mirror of
https://github.com/boostorg/thread.git
synced 2026-02-21 03:22:10 +00:00
@@ -77,7 +77,7 @@ namespace boost
|
||||
/**
|
||||
* @return the owned mutex.
|
||||
*/
|
||||
const mutex_type* mutex() const BOOST_NOEXCEPT
|
||||
mutex_type* mutex() const BOOST_NOEXCEPT
|
||||
{
|
||||
return &mtx_;
|
||||
}
|
||||
@@ -182,7 +182,7 @@ namespace boost
|
||||
/**
|
||||
* return @c the owned mutex.
|
||||
*/
|
||||
const mutex_type* mutex() const BOOST_NOEXCEPT
|
||||
mutex_type* mutex() const BOOST_NOEXCEPT
|
||||
{
|
||||
return tmp_lk_.mutex();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user