mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Update include/gsl/span
Co-Authored-By: Casey Carter <cartec69@gmail.com>
This commit is contained in:
parent
24646c6f7c
commit
827fafd32c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user