From 2a1ef2540687efcf1a62c8213404b242e792bff3 Mon Sep 17 00:00:00 2001 From: JACK_1729 Date: Wed, 20 Feb 2019 20:25:50 +0530 Subject: [PATCH] Update span About my Issue - https://github.com/Microsoft/GSL/issues/765 --- include/gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gsl/span b/include/gsl/span index b4da532..59bd121 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -141,7 +141,7 @@ namespace details span_iterator() = default; - constexpr span_iterator(const Span* span, typename Span::index_type idx) noexcept + constexpr span_iterator(const Span* span, difference_type idx) noexcept : span_(span), index_(idx) {}