Update include/gsl/span

Co-Authored-By: Casey Carter <cartec69@gmail.com>
This commit is contained in:
Jordan Maples [MSFT] 2020-02-03 18:12:32 -08:00 committed by GitHub
parent 24646c6f7c
commit 827fafd32c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}