diff options
author | beinhaerter <34543625+beinhaerter@users.noreply.github.com> | 2020-10-20 01:44:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 01:44:11 +0300 |
commit | 2af9b11fe90bbfc6c27d48b55c5938124b81534f (patch) | |
tree | 42f36d002a9117f81d78d384a4121587cad728b4 | |
parent | dc6fdff4c070935d45d51ba19a049728eaf8e086 (diff) |
Update include/gsl/span
Co-authored-by: Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>
-rw-r--r-- | include/gsl/span | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsl/span b/include/gsl/span index c2e0135..2133baa 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -441,7 +441,7 @@ public: template <std::size_t MyExtent = Extent, std::enable_if_t<MyExtent == dynamic_extent, int> = 0> constexpr span(pointer firstElem, pointer lastElem) noexcept - : storage_(firstElem, gsl::narrow_cast<std::size_t>(lastElem - firstElem)) + : storage_(firstElem, narrow_cast<std::size_t>(lastElem - firstElem)) {} template <std::size_t N, |