mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
libstdc++: Remove redundant std::span destructor
This destructor declaration serves no purpose, as pointed out by LWG 3903 which was approved at Varna, June 2023. libstdc++-v3/ChangeLog: * include/std/span (span::~span): Remove, as per LWG 3903. Reviewed-by: Patrick Palka <ppalka@redhat.com>
This commit is contained in:
committed by
Jonathan Wakely
parent
d2b022e38a
commit
21c96f68f7
@@ -257,8 +257,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
: _M_ptr(__s.data()), _M_extent(__s.size())
|
||||
{ }
|
||||
|
||||
~span() noexcept = default;
|
||||
|
||||
constexpr span&
|
||||
operator=(const span&) noexcept = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user