QSpan: remove an unused tag type and variable
These seem to have been unused from the initial QSpan commit, f82cf6333e4e21c96d8b6bb272392f8142ead2b7. Pick-to: 6.7 Change-Id: Ifa00d042e750145b688a238099506f56f96bad0b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 281044015ff62eaf1473a6fd5f79709b077e19fa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8d41b5a772
commit
d554f36017
@ -159,9 +159,6 @@ class QSpanBase : protected QSpanCommon<T>
|
||||
static_assert(E < size_t{(std::numeric_limits<qsizetype>::max)()},
|
||||
"QSpan only supports extents that fit into the signed size type (qsizetype).");
|
||||
|
||||
struct Enabled_t { explicit Enabled_t() = default; };
|
||||
static inline constexpr Enabled_t Enable{};
|
||||
|
||||
template <typename S, std::size_t N>
|
||||
using if_compatible_array = std::enable_if_t<
|
||||
N == E && is_qualification_conversion_v<S, T>
|
||||
|
Loading…
x
Reference in New Issue
Block a user