Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeinhaerter <34543625+beinhaerter@users.noreply.github.com>2020-10-20 01:44:11 +0300
committerGitHub <noreply@github.com>2020-10-20 01:44:11 +0300
commit2af9b11fe90bbfc6c27d48b55c5938124b81534f (patch)
tree42f36d002a9117f81d78d384a4121587cad728b4
parentdc6fdff4c070935d45d51ba19a049728eaf8e086 (diff)
Update include/gsl/span
Co-authored-by: Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>
-rw-r--r--include/gsl/span2
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,