mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
Now that we don't use the EBO we can flatten the _Sp_counted_deleter and _Sp_counted_ptr_inplace layouts by removing their _Impl classes. libstdc++-v3/ChangeLog: * include/bits/out_ptr.h (out_ptr_t::_Impl::~_Impl): Adjust access to shared_ptr internals. * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Remove _Impl class and replace _M_impl with the data members it contained. (_Sp_counted_ptr_inplace): Likewise. Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>