From a73c536ea1b027f185664a169d657260e711375f Mon Sep 17 00:00:00 2001 From: "Billy O'Neal (VC LIBS)" Date: Tue, 15 May 2018 19:37:07 -0700 Subject: [PATCH] Gnilleps --- include/gsl/span | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gsl/span b/include/gsl/span index c0bfea9..2cf6517 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -269,7 +269,7 @@ namespace details && lhs.index_ <= rhs.index_); // range must not be transposed } - cosntexpr void _Verify_offset(const difference_type n) const noexcpt + cosntexpr void _Verify_offset(const difference_type n) const noexcept { // test that the iterator *this + n is a valid range in an STL // algorithm call Expects((index_ + n) >= 0 && (index_ + n) <= span_->size()); @@ -288,7 +288,7 @@ namespace details constexpr void _Seek_to(const pointer p) noexcept { // adjust the position of *this to previously verified location p - // after _Unwrap + // after _Unwrapped index_ = p - span_->data(); } #endif