diff --git a/include/gsl/span b/include/gsl/span index 05d72be..25e244f 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -215,6 +215,7 @@ namespace details if (n != 0) Expects(begin_ && current_ && end_); if (n > 0) Expects(current_ - begin_ >= n); if (n < 0) Expects(end_ - current_ >= -n); + GSL_SUPPRESS(bounds .1) current_ -= n; return *this; }