2016-12-06 Aditya Kumar <hiraditya@msn.com>
* src/c++11/shared_ptr.cc (_Sp_locker::_Sp_locker(const void* p)): Add
noexcept on constructor.
(_Sp_locker::_Sp_locker(const void* p1, const void* p2)): Same.
From-SVN: r243291
+2016-12-06 Aditya Kumar <hiraditya@msn.com>
+
+ * src/c++11/shared_ptr.cc (_Sp_locker::_Sp_locker(const void* p)): Add
+ noexcept on constructor.
+ (_Sp_locker::_Sp_locker(const void* p1, const void* p2)): Same.
+
2016-12-06 Jonathan Wakely <jwakely@redhat.com>
* include/bits/basic_string.h (basic_string::find, basic_string::rfind)
{ return _Hash_impl::hash(addr) & __gnu_internal::mask; }
}
- _Sp_locker::_Sp_locker(const void* p)
+ _Sp_locker::_Sp_locker(const void* p) noexcept
{
if (__gthread_active_p())
{
_M_key1 = _M_key2 = __gnu_internal::invalid;
}
- _Sp_locker::_Sp_locker(const void* p1, const void* p2)
+ _Sp_locker::_Sp_locker(const void* p1, const void* p2) noexcept
{
if (__gthread_active_p())
{