From dc6fdff4c070935d45d51ba19a049728eaf8e086 Mon Sep 17 00:00:00 2001 From: beinhaerter <34543625+beinhaerter@users.noreply.github.com> Date: Tue, 20 Oct 2020 00:44:02 +0200 Subject: [PATCH] Update include/gsl/span Co-authored-by: Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> --- include/gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gsl/span b/include/gsl/span index 6015d85..c2e0135 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -434,7 +434,7 @@ public: template = 0> constexpr explicit span(pointer firstElem, pointer lastElem) noexcept - : storage_(firstElem, gsl::narrow_cast(lastElem - firstElem)) + : storage_(firstElem, narrow_cast(lastElem - firstElem)) { Expects(lastElem - firstElem == static_cast(Extent)); }