libstdc++: Add missing exception-specifications in shared_ptr
authorStephan Bergmann <sbergman@redhat.com>
Mon, 26 Oct 2020 10:11:50 +0000 (10:11 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 26 Oct 2020 10:15:45 +0000 (10:15 +0000)
commitdc7824734e6589bac2ba0f8363d24d50da8cfeae
treef3d78cad5943d98effe12acd227688bfb769b7d1
parent02a8253980d04638085237915498acd04297fbbf
libstdc++: Add missing exception-specifications in shared_ptr

libstdc++-v3/ChangeLog:

* include/bits/shared_ptr_base.h
(_Sp_counted_base::_M_add_ref_lock_nothrow(): Add noexcept to
definitions to match declaration.
(__shared_count(const __weak_count&, nothrow_t)): Add noexcept
to declaration to match definition.
libstdc++-v3/include/bits/shared_ptr_base.h