diff --git a/src/corelib/tools/qspan_p.h b/src/corelib/tools/qspan_p.h index c2fc6386938..ca0a16e7b9a 100644 --- a/src/corelib/tools/qspan_p.h +++ b/src/corelib/tools/qspan_p.h @@ -151,8 +151,7 @@ protected: static constexpr qsizetype m_size = qsizetype(E); // types and constants: - - static constexpr size_t extent = E; + // (in QSpan only) // constructors (need to be public d/t the way ctor inheriting works): public: