diff --git a/include/gsl/span b/include/gsl/span index 6cfc91c..445826c 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -676,7 +676,7 @@ private: }; template - span make_subspan(size_type offset, size_type count, + constexpr span make_subspan(size_type offset, size_type count, subspan_selector) const { const span tmp(*this); @@ -686,7 +686,7 @@ private: // clang-format off GSL_SUPPRESS(bounds.1) // NO-FORMAT: attribute // clang-format on - span make_subspan(size_type offset, size_type count, + constexpr span make_subspan(size_type offset, size_type count, subspan_selector) const { Expects(size() >= offset);