shared_mutex (shared_lock::operator=): Add missing return statement.
* include/std/shared_mutex (shared_lock::operator=): Add missing return statement. From-SVN: r200141
This commit is contained in:
parent
0de86a9228
commit
2081281b10
@ -1,3 +1,8 @@
|
|||||||
|
2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
|
* include/std/shared_mutex (shared_lock::operator=): Add missing
|
||||||
|
return statement.
|
||||||
|
|
||||||
2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
|
2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
PR libstdc++/57263
|
PR libstdc++/57263
|
||||||
|
@ -339,7 +339,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||||||
|
|
||||||
shared_lock&
|
shared_lock&
|
||||||
operator=(shared_lock&& __sl) noexcept
|
operator=(shared_lock&& __sl) noexcept
|
||||||
{ shared_lock(std::move(__sl)).swap(*this); }
|
{
|
||||||
|
shared_lock(std::move(__sl)).swap(*this);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
lock()
|
lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user