From 827fafd32c9da89bd521bac9c91a0d6e37be2f1d Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Mon, 3 Feb 2020 18:12:32 -0800 Subject: [PATCH] Update include/gsl/span Co-Authored-By: Casey Carter --- include/gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gsl/span b/include/gsl/span index 5900da5..c480f18 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -182,7 +182,7 @@ namespace details { Expects(begin_ && current_ && end_); if (n > 0) Expects(end_ - current_ >= n); - if (n < 0) Expects(end_ - current_ >= -n); + if (n < 0) Expects(current_ - begin_ >= -n); current_ += n; return *this; }