From d554f3601701f71aaefb65bf868422d15b883df1 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 4 Jul 2024 18:48:29 +0200 Subject: [PATCH] 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 (cherry picked from commit 281044015ff62eaf1473a6fd5f79709b077e19fa) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/tools/qspan.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/corelib/tools/qspan.h b/src/corelib/tools/qspan.h index 2671ba374fe..65362f94b24 100644 --- a/src/corelib/tools/qspan.h +++ b/src/corelib/tools/qspan.h @@ -159,9 +159,6 @@ class QSpanBase : protected QSpanCommon static_assert(E < size_t{(std::numeric_limits::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 using if_compatible_array = std::enable_if_t< N == E && is_qualification_conversion_v