aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJACK_1729 <jack17529@users.noreply.github.com>2019-02-20 20:25:50 +0530
committerGitHub <noreply@github.com>2019-02-20 20:25:50 +0530
commit2a1ef2540687efcf1a62c8213404b242e792bff3 (patch)
tree043efaff22f580217dd521449f5500f5b9b0a495
parent7d78b743e43ecba06ca47426d03d9d16076dec16 (diff)
downloadplatform_external_Microsoft-GSL-2a1ef2540687efcf1a62c8213404b242e792bff3.tar.gz
platform_external_Microsoft-GSL-2a1ef2540687efcf1a62c8213404b242e792bff3.tar.bz2
platform_external_Microsoft-GSL-2a1ef2540687efcf1a62c8213404b242e792bff3.zip
Update span
About my Issue - https://github.com/Microsoft/GSL/issues/765
-rw-r--r--include/gsl/span2
1 files changed, 1 insertions, 1 deletions
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)
{}