Add missing noexcept on std::_Sp_locker constructors
authorAditya Kumar <hiraditya@msn.com>
Tue, 6 Dec 2016 10:43:49 +0000 (10:43 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 6 Dec 2016 10:43:49 +0000 (10:43 +0000)
commitb6f684ae25e66e3f9ad40c29af8b42f67421652e
tree0ce6cebbdcbf1434ebf8faeeae1074bbde2831c4
parent39a0325104227d48df4d49dcb47f38b44e8da732
Add missing noexcept on std::_Sp_locker constructors

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
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/shared_ptr.cc